Merge "Only suspend package from system or shell" into pi-dev am: 986d537c88

Change-Id: Idae1253f8530ca10612bd274818e90a82c3486b7
This commit is contained in:
Automerger Merge Worker
2020-03-04 14:51:05 +00:00

View File

@@ -8464,6 +8464,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();