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

Commit 430df0fd authored by Fyodor Kupolov's avatar Fyodor Kupolov Committed by Android (Google) Code Review
Browse files

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

parents c91f5e29 e09a623b
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));