diff options
| -rw-r--r-- | services/java/com/android/server/StatusBarManagerService.java | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/services/java/com/android/server/StatusBarManagerService.java b/services/java/com/android/server/StatusBarManagerService.java index 439eebe7bca4..1fe98afcf358 100644 --- a/services/java/com/android/server/StatusBarManagerService.java +++ b/services/java/com/android/server/StatusBarManagerService.java @@ -170,7 +170,9 @@ public class StatusBarManagerService extends IStatusBarService.Stub          // so they are paired correctly.  The messages on the handler will be          // handled in the order they were enqueued, but will be outside the lock.          manageDisableListLocked(userId, what, token, pkg); -        final int net = gatherDisableActionsLocked(userId); + +        // Ensure state for the current user is applied, even if passed a non-current user. +        final int net = gatherDisableActionsLocked(mCurrentUserId);          if (net != mDisabled) {              mDisabled = net;              mHandler.post(new Runnable() {  |