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

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

Merge "Pass the correct user ID when unstopping the broadcast target"

parents 85a5721c a3a455df
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1337,7 +1337,7 @@ public final class BroadcastQueue {
        // Broadcast is being executed, its package can't be stopped.
        // Broadcast is being executed, its package can't be stopped.
        try {
        try {
            AppGlobals.getPackageManager().setPackageStoppedState(
            AppGlobals.getPackageManager().setPackageStoppedState(
                    r.curComponent.getPackageName(), false, UserHandle.getUserId(r.callingUid));
                    r.curComponent.getPackageName(), false, r.userId);
        } catch (RemoteException e) {
        } catch (RemoteException e) {
        } catch (IllegalArgumentException e) {
        } catch (IllegalArgumentException e) {
            Slog.w(TAG, "Failed trying to unstop package "
            Slog.w(TAG, "Failed trying to unstop package "