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

Commit 7e9495bc authored by Sudheer Shanka's avatar Sudheer Shanka
Browse files

Include the priority of registered receivers in the trace events.

Bug: 373963545
Test: manual
Flag: EXEMPT trace event only update
Change-Id: I116ab0a1b36ce0895bce107d7e248d5fa453a1bb
parent 0f8eab0f
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -257,6 +257,7 @@ class BroadcastController {
            final StringBuilder sb = new StringBuilder("registerReceiver: ");
            final StringBuilder sb = new StringBuilder("registerReceiver: ");
            sb.append(Binder.getCallingUid()); sb.append('/');
            sb.append(Binder.getCallingUid()); sb.append('/');
            sb.append(receiverId == null ? "null" : receiverId); sb.append('/');
            sb.append(receiverId == null ? "null" : receiverId); sb.append('/');
            sb.append("p:"); sb.append(filter.getPriority()); sb.append('/');
            final int actionsCount = filter.safeCountActions();
            final int actionsCount = filter.safeCountActions();
            if (actionsCount > 0) {
            if (actionsCount > 0) {
                for (int i = 0; i < actionsCount; ++i) {
                for (int i = 0; i < actionsCount; ++i) {