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

Commit 2d85fd83 authored by Phil Weaver's avatar Phil Weaver Committed by android-build-merger
Browse files

Merge "Don\'t disrupt a11y state when user is unlocked." into nyc-dev am: 18e9f13b am: 14a9987d

am: a6f21539

* commit 'a6f21539':
  Don't disrupt a11y state when user is unlocked.

Change-Id: Id741cc938e24c534f52f9f1ff92045fb08dec3f3
parents 6f88016d a6f21539
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -902,10 +902,13 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub {

    private void unlockUser(int userId) {
        synchronized (mLock) {
            UserState userState = getUserStateLocked(userId);
            int parentUserId = mSecurityPolicy.resolveProfileParentLocked(userId);
            if (parentUserId == mCurrentUserId) {
                UserState userState = getUserStateLocked(mCurrentUserId);
                onUserStateChangedLocked(userState);
            }
        }
    }

    private void removeUser(int userId) {
        synchronized (mLock) {