From 8ac26ca36b5dc7d6830a8fead03f413f71d9c754 Mon Sep 17 00:00:00 2001 From: dianlujitao Date: Thu, 27 Dec 2018 14:58:45 +0800 Subject: 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 --- packages/SystemUI/src/com/android/systemui/SystemUIService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3