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

Commit 86c46189 authored by Gavin Corkery's avatar Gavin Corkery Committed by Android (Google) Code Review
Browse files

Merge "Send BUGREPORT_REQUESTED broadcast to system user" into sc-dev

parents 1b394248 6a67dd5b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6487,7 +6487,7 @@ public class ActivityManagerService extends IActivityManager.Stub
        final long identity = Binder.clearCallingIdentity();
        try {
            // Send broadcast to shell to trigger bugreport using Bugreport API
            mContext.sendBroadcast(triggerShellBugreport);
            mContext.sendBroadcastAsUser(triggerShellBugreport, UserHandle.SYSTEM);
        } finally {
            Binder.restoreCallingIdentity(identity);
        }