Merge "Return from onUserUnlocked if user is no longer unlocked" into nyc-dev am: 430df0fdb6
am: dca21d73ce
* commit 'dca21d73ce59ac0b254e5e2a9ae976ed7d40060a':
Return from onUserUnlocked if user is no longer unlocked
Change-Id: I2ad80c1ba061d877ec8852f42354ee6dfc5035ca
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user