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

Commit d188a169 authored by Fyodor Kupolov's avatar Fyodor Kupolov Committed by android-build-merger
Browse files

Merge "Return from onUserUnlocked if user is no longer unlocked" into nyc-dev

am: 430df0fd

* commit '430df0fd':
  Return from onUserUnlocked if user is no longer unlocked

Change-Id: I31f20d6e81d90489e17effefce0936e3e68df82d
parents eb435a3a 430df0fd
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2529,6 +2529,10 @@ class AppWidgetServiceImpl extends IAppWidgetService.Stub implements WidgetBacku
        if (isProfileWithLockedParent(userId)) {
            return;
        }
        if (!mUserManager.isUserUnlockingOrUnlocked(userId)) {
            Slog.w(TAG, "User " + userId + " is no longer unlocked - exiting");
            return;
        }
        synchronized (mLock) {
            ensureGroupStateLoadedLocked(userId);
            reloadWidgetsMaskedStateForGroup(mSecurityPolicy.getGroupParent(userId));