summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@lineageos.org>2018-12-27 14:58:45 +0800
committeralk3pInjection <webmaster@raspii.tech>2022-01-27 18:50:18 +0800
commit8ac26ca36b5dc7d6830a8fead03f413f71d9c754 (patch)
tree6293bda50e2181f325c49f10690e5c2aabf55521
parent30ab384c4bdf771a8e6dc56b64c1530e13b6cdec (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);