am 143d73da: Merge "Fix multiuser bug in StatusBarManagerService." into jb-mr1.1-dev
* commit '143d73dab5bf3fe6b8835660543d3d03e781618f': Fix multiuser bug in StatusBarManagerService.
This commit is contained in:
@@ -170,7 +170,9 @@ public class StatusBarManagerService extends IStatusBarService.Stub
|
|||||||
// so they are paired correctly. The messages on the handler will be
|
// 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.
|
// handled in the order they were enqueued, but will be outside the lock.
|
||||||
manageDisableListLocked(userId, what, token, pkg);
|
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) {
|
if (net != mDisabled) {
|
||||||
mDisabled = net;
|
mDisabled = net;
|
||||||
mHandler.post(new Runnable() {
|
mHandler.post(new Runnable() {
|
||||||
|
|||||||
Reference in New Issue
Block a user