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

Commit 6c73cdb5 authored by Suprabh Shukla's avatar Suprabh Shukla Committed by Android (Google) Code Review
Browse files

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

parents e62aa485 f8833816
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -4328,7 +4328,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) {