commit | 3c115495a001e45c18a32bb8ed20698c2425b5a8 | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Wed Mar 04 17:43:32 2020 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Wed Mar 04 17:43:32 2020 +0000 |
tree | 0803e540e44ba76115f7875c409ab73a2a59caa6 | |
parent | d9725f72d365724ebfd5307013a02d5f3d9b0777 [diff] | |
parent | f9418dbb2c2469dd271e4aebefda5b6a4b485f3a [diff] |
Merge "RESTRICT AUTOMERGE Update keyguard locked state from TrustManagerService" into qt-dev
diff --git a/services/core/java/com/android/server/notification/NotificationManagerService.java b/services/core/java/com/android/server/notification/NotificationManagerService.java index 928747e..b5f428a 100644 --- a/services/core/java/com/android/server/notification/NotificationManagerService.java +++ b/services/core/java/com/android/server/notification/NotificationManagerService.java
@@ -8464,6 +8464,7 @@ @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();