am 27b3819d: Merge "Reset status bar in keyguard, fix MU status bar bug." into jb-mr1-dev
* commit '27b3819df0ff3bbfb680b5bac54ef7e9b4d3aac1': Reset status bar in keyguard, fix MU status bar bug.
This commit is contained in:
@@ -291,6 +291,7 @@ public class KeyguardViewMediator {
|
|||||||
public void onUserSwitched(int userId) {
|
public void onUserSwitched(int userId) {
|
||||||
// Note that the mLockPatternUtils user has already been updated from setCurrentUser.
|
// Note that the mLockPatternUtils user has already been updated from setCurrentUser.
|
||||||
synchronized (KeyguardViewMediator.this) {
|
synchronized (KeyguardViewMediator.this) {
|
||||||
|
adjustStatusBarLocked();
|
||||||
resetStateLocked(true);
|
resetStateLocked(true);
|
||||||
}
|
}
|
||||||
// We should always go back to the locked state when a user
|
// We should always go back to the locked state when a user
|
||||||
|
|||||||
@@ -544,7 +544,7 @@ public class StatusBarManagerService extends IStatusBarService.Stub
|
|||||||
int i;
|
int i;
|
||||||
for (i=0; i<N; i++) {
|
for (i=0; i<N; i++) {
|
||||||
DisableRecord t = mDisableRecords.get(i);
|
DisableRecord t = mDisableRecords.get(i);
|
||||||
if (t.token == token) {
|
if (t.token == token && t.userId == userId) {
|
||||||
tok = t;
|
tok = t;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user