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

Commit 950304a8 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

am: dca21d73

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

Change-Id: I2ad80c1ba061d877ec8852f42354ee6dfc5035ca
parents 9fab2e7c dca21d73
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));