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

Commit 68e926c7 authored by Daniel U's avatar Daniel U Committed by android-build-merger
Browse files

Merge "Refresh cached user array upon lockscreen settings changed" into nyc-dev

am: eb33f492

* commit 'eb33f492':
  Refresh cached user array upon lockscreen settings changed

Change-Id: I1ab047796aa11a7e48d4591d5baa67bf2d9ea63b
parents 0174e54e eb33f492
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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();
        }