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

Commit 0b622da3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add uid state information to trace event" into main

parents 8ec1eb1e 35577a35
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -4322,7 +4322,9 @@ public class NetworkPolicyManagerService extends INetworkPolicyManager.Stub {
    @GuardedBy("mUidRulesFirstLock")
    private boolean updateUidStateUL(int uid, int procState, long procStateSeq,
            @ProcessCapability int capability) {
        Trace.traceBegin(Trace.TRACE_TAG_NETWORK, "updateUidStateUL");
        Trace.traceBegin(Trace.TRACE_TAG_NETWORK, "updateUidStateUL: " + uid + "/"
                + ActivityManager.procStateToString(procState) + "/" + procStateSeq + "/"
                + ActivityManager.getCapabilitiesSummary(capability));
        try {
            final UidState oldUidState = mUidState.get(uid);
            if (oldUidState != null && procStateSeq < oldUidState.procStateSeq) {