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

Commit e139472a authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't allowlist on BOOT_COMPLETED for unstop" into main

parents e4478c9c 1e7bed2a
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -5087,13 +5087,11 @@ public class ActivityManagerService extends IActivityManager.Stub
        intent.addFlags(Intent.FLAG_RECEIVER_NO_ABORT
                | Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND
                | Intent.FLAG_INCLUDE_STOPPED_PACKAGES);
        final BroadcastOptions bOptions = mUserController.getTemporaryAppAllowlistBroadcastOptions(
                reason);
        broadcastIntentLocked(null, null, null, intent, null, null, 0, null, null,
                new String[]{android.Manifest.permission.RECEIVE_BOOT_COMPLETED},
                null, null, AppOpsManager.OP_NONE,
                bOptions.toBundle(), true,
                null, true,
                false, MY_PID, SYSTEM_UID,
                SYSTEM_UID, MY_PID, app.userId);
    }