Merge "Return from onUserUnlocked if user is no longer unlocked" into nyc-dev am: 430df0fdb6
am: d188a1693f
* commit 'd188a1693f317046317dde91a573799bf45f04ea':
Return from onUserUnlocked if user is no longer unlocked
Change-Id: I998f4f974ab1225f7804cb6cce450dfe8332e6ab
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