summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@lineageos.org>2018-12-27 14:58:45 +0800
committeralk3pInjection <webmaster@raspii.tech>2022-05-07 00:20:58 +0800
commit67a92d23a428599fdf4ca4b673eddfe4a8280a8e (patch)
treef6012fe0f19f6edda993acf8df40c4281da2446d
parentcc4f6927c0bf5a4be5142b1f44657750e0342df7 (diff)
Enable Binder Proxy Tracking by Uid only on eng builds
* App would be killed once limit reached, this is really bad for users. Change-Id: I226a7a34031c9e9d8bf6843c22d79e72203bf867
-rw-r--r--packages/SystemUI/src/com/android/systemui/SystemUIService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/SystemUIService.java b/packages/SystemUI/src/com/android/systemui/SystemUIService.java
index 1f41038c260f..c56bab290ce3 100644
--- a/packages/SystemUI/src/com/android/systemui/SystemUIService.java
+++ b/packages/SystemUI/src/com/android/systemui/SystemUIService.java
@@ -82,7 +82,7 @@ public class SystemUIService extends Service {
throw new RuntimeException();
}
- if (Build.IS_DEBUGGABLE) {
+ if (Build.IS_ENG) {
// b/71353150 - looking for leaked binder proxies
BinderInternal.nSetBinderProxyCountEnabled(true);
BinderInternal.nSetBinderProxyCountWatermarks(1000,900);