Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e74106cb authored by Michael Wachenschwanz's avatar Michael Wachenschwanz
Browse files

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
parent a660af1f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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