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

Commit 4fdc5225 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove flag for excessive binder proxy logging." into main

parents 25adb935 d4111ca7
Loading
Loading
Loading
Loading
+3 −7
Original line number Original line Diff line number Diff line
@@ -9277,13 +9277,9 @@ public class ActivityManagerService extends IActivityManager.Stub
        @Override
        @Override
        public void onWarningThresholdReached(int uid) {
        public void onWarningThresholdReached(int uid) {
            if (Flags.logExcessiveBinderProxies()) {
            Slog.w(TAG, "Uid " + uid + " sent too many ("
            Slog.w(TAG, "Uid " + uid + " sent too many ("
                    + BINDER_PROXY_WARNING_WATERMARK + ") Binders to uid " + Process.myUid());
                    + BINDER_PROXY_WARNING_WATERMARK + ") Binders to uid " + Process.myUid());
                FrameworkStatsLog.write(
            FrameworkStatsLog.write(FrameworkStatsLog.EXCESSIVE_BINDER_PROXY_COUNT_REPORTED, uid);
                        FrameworkStatsLog.EXCESSIVE_BINDER_PROXY_COUNT_REPORTED,
                        uid);
            }
        }
        }
    }
    }
+0 −7
Original line number Original line Diff line number Diff line
@@ -48,13 +48,6 @@ flag {
    }
    }
}
}


flag {
    namespace: "backstage_power"
    name: "log_excessive_binder_proxies"
    description: "Log the excessive incoming binder proxies into statsd"
    bug: "298263955"
}

flag {
flag {
    name: "skip_unimportant_connections"
    name: "skip_unimportant_connections"
    namespace: "backstage_power"
    namespace: "backstage_power"