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

Commit eb4f716b authored by Julia Reynolds's avatar Julia Reynolds Committed by Beverly Tai
Browse files

Only suspend package from system or shell

Test: manual
Bug: 148059175
Change-Id: I50ee768e792266ad2091f1913168e89d5d1463ed
Merged-In: I50ee768e792266ad2091f1913168e89d5d1463ed
(cherry picked from commit 1c943a26)
(cherry picked from commit adc39de3)
parent e38a7104
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7101,6 +7101,7 @@ public class NotificationManagerService extends SystemService {

    @VisibleForTesting
    protected void simulatePackageSuspendBroadcast(boolean suspend, String pkg) {
        checkCallerIsSystemOrShell();
        // only use for testing: mimic receive broadcast that package is (un)suspended
        // but does not actually (un)suspend the package
        final Bundle extras = new Bundle();