diff options
| author | 2023-07-11 12:02:22 +0000 | |
|---|---|---|
| committer | 2023-07-11 12:04:09 +0000 | |
| commit | b0d22df22e33aaf3f4924fddd4b6cfaac4d559ce (patch) | |
| tree | b105723dffc6d624589e795ba73b922abd83927e | |
| parent | 158478c2589d952dd6a369746b93b7ab7cd94adb (diff) | |
Move the binder proxy count callback to the background thread.
It will avoid triggering the watchdog on debuggable builds as BinderProxy.dumpProxyDebugInfo() can be slow.
Bug: 219943018
Change-Id: Ia0b5d5f4eb9bffb7e52c6d97662d940c0c38c452
| -rw-r--r-- | services/core/java/com/android/server/am/ActivityManagerService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/am/ActivityManagerService.java b/services/core/java/com/android/server/am/ActivityManagerService.java index 359c3cd66e10..eaa1b97113a8 100644 --- a/services/core/java/com/android/server/am/ActivityManagerService.java +++ b/services/core/java/com/android/server/am/ActivityManagerService.java @@ -8658,7 +8658,7 @@ public class ActivityManagerService extends IActivityManager.Stub // cleaning up the old proxies. VMRuntime.getRuntime().requestConcurrentGC(); } - }, mHandler); + }, BackgroundThread.getHandler()); t.traceEnd(); // setBinderProxies t.traceEnd(); // ActivityManagerStartApps |