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

Commit 9a5d3ad5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Handle ALL_OPs case in ModeCallBack.toString"

parents 8283e022 b992f8cc
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -1236,9 +1236,16 @@ public class AppOpsService extends IAppOpsService.Stub {
            UserHandle.formatUid(sb, mWatchingUid);
            sb.append(" flags=0x");
            sb.append(Integer.toHexString(mFlags));
            if (mWatchedOpCode != OP_NONE) {
            switch (mWatchedOpCode) {
                case OP_NONE:
                    break;
                case ALL_OPS:
                    sb.append(" op=(all)");
                    break;
                default:
                    sb.append(" op=");
                    sb.append(opToName(mWatchedOpCode));
                    break;
            }
            sb.append(" from uid=");
            UserHandle.formatUid(sb, mCallingUid);