Merge "Don't disrupt a11y state when user is unlocked." into nyc-dev
This commit is contained in:
@@ -902,8 +902,11 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub {
|
||||
|
||||
private void unlockUser(int userId) {
|
||||
synchronized (mLock) {
|
||||
UserState userState = getUserStateLocked(userId);
|
||||
onUserStateChangedLocked(userState);
|
||||
int parentUserId = mSecurityPolicy.resolveProfileParentLocked(userId);
|
||||
if (parentUserId == mCurrentUserId) {
|
||||
UserState userState = getUserStateLocked(mCurrentUserId);
|
||||
onUserStateChangedLocked(userState);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user