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

Commit 4c977e8c 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...

Merge "Return from onUserUnlocked if user is no longer unlocked" into nyc-dev am: 430df0fd am: d188a169
am: 06774496

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

Change-Id: I55c190bbc0e5656d932e4dcff661f05175196953
parents a96b8160 06774496
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));