summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2019-04-09 09:53:55 -0700
committerMathieu Chartier <mathieuc@google.com>2019-04-09 10:34:26 -0700
commit628626f99f8a02d9ad1f1f26ca7f3c7bf29cc49e (patch)
treed7ad36393571cdacf2fd5194932f3c5332df95c5
parent09c94276369a9bf004f266627fb91c05443984ad (diff)
Add two classes to blacklist
Added these classes to prevent initialization of AsyncTask since initializing AsyncTask may cause memory leaks. Bug: 130206915 Test: make Test: look at classes initialized during preloading Change-Id: I6bacbbdf61d8a782d88debc29d9f0ca29d273888
-rw-r--r--config/preloaded-classes2
-rw-r--r--config/preloaded-classes-blacklist2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/preloaded-classes b/config/preloaded-classes
index abdbab2a29eb..5910c284608d 100644
--- a/config/preloaded-classes
+++ b/config/preloaded-classes
@@ -756,7 +756,6 @@ android.content.ActivityNotFoundException
android.content.AsyncQueryHandler$WorkerArgs
android.content.AsyncQueryHandler$WorkerHandler
android.content.AsyncQueryHandler
-android.content.AsyncTaskLoader$LoadTask
android.content.AsyncTaskLoader
android.content.BroadcastReceiver$PendingResult$1
android.content.BroadcastReceiver$PendingResult
@@ -3186,7 +3185,6 @@ android.speech.tts.ITextToSpeechCallback
android.speech.tts.ITextToSpeechService$Stub$Proxy
android.speech.tts.ITextToSpeechService
android.speech.tts.TextToSpeech$Action
-android.speech.tts.TextToSpeech$Connection$SetupConnectionAsyncTask
android.speech.tts.TextToSpeech$Connection
android.speech.tts.TextToSpeech$OnInitListener
android.speech.tts.TextToSpeech
diff --git a/config/preloaded-classes-blacklist b/config/preloaded-classes-blacklist
index 59f605d8e490..cd5a1205d122 100644
--- a/config/preloaded-classes-blacklist
+++ b/config/preloaded-classes-blacklist
@@ -1,6 +1,8 @@
+android.content.AsyncTaskLoader$LoadTask
android.net.ConnectivityThread$Singleton
android.os.AsyncTask
android.os.FileObserver
+android.speech.tts.TextToSpeech$Connection$SetupConnectionAsyncTask
android.widget.Magnifier
sun.nio.fs.UnixChannelFactory
com.android.server.SystemConfig$PermissionEntry