Temporary Threshold for Binder Proxy Tracking

Revert once bug is resolved
Lowered threshold and won't kill apps on userdebug/eng builds (as to not
interfere with other monitoring efforts).

Bug: 71353150
Test: manual
Change-Id: I1a6d4a97a5fdfb7466af0e07d3854e84c0355eaa
This commit is contained in:
Michael Wachenschwanz
2018-01-24 20:23:15 -08:00
parent a660af1fa4
commit e74106cbf9

View File

@@ -14762,6 +14762,8 @@ public class ActivityManagerService extends IActivityManager.Stub
mUserController.sendUserSwitchBroadcasts(-1, currentUserId);
BinderInternal.nSetBinderProxyCountEnabled(true);
//STOPSHIP: Temporary BinderProxy Threshold for b/71353150
BinderInternal.nSetBinderProxyCountWatermarks(1500, 1200);
BinderInternal.setBinderProxyCountCallback(
new BinderInternal.BinderProxyLimitListener() {
@Override