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

Commit 986d537c authored by Beverly Tai's avatar Beverly Tai Committed by Android (Google) Code Review
Browse files

Merge "Only suspend package from system or shell" into pi-dev

parents 835e3a52 eb4f716b
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();