summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Daniel U <uda@google.com> 2016-04-07 14:20:13 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2016-04-07 14:20:15 +0000
commiteb33f49232a0a7a1c20aba4bdecad4ab5da7cfc9 (patch)
tree4defe76949f4f4da5f5ea8b0ec6e0681b71cfe23
parent7d4a7fa333c4d73ed36d3729b43a5f3ae82cdc93 (diff)
parent57454878918522229b0e42485d83856d36925a20 (diff)
Merge "Refresh cached user array upon lockscreen settings changed" into nyc-dev
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
index 29b6908fb8c1..1b2393afcccf 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
@@ -287,9 +287,10 @@ public abstract class BaseStatusBar extends SystemUI implements
private final ContentObserver mLockscreenSettingsObserver = new ContentObserver(mHandler) {
@Override
public void onChange(boolean selfChange) {
- // We don't know which user changed LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS,
- // so we just dump our cache ...
+ // We don't know which user changed LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS or
+ // LOCK_SCREEN_SHOW_NOTIFICATIONS, so we just dump our cache ...
mUsersAllowingPrivateNotifications.clear();
+ mUsersAllowingNotifications.clear();
// ... and refresh all the notifications
updateNotifications();
}