Merge "Return from onUserUnlocked if user is no longer unlocked" into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
430df0fdb6
@@ -2529,6 +2529,10 @@ class AppWidgetServiceImpl extends IAppWidgetService.Stub implements WidgetBacku
|
|||||||
if (isProfileWithLockedParent(userId)) {
|
if (isProfileWithLockedParent(userId)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (!mUserManager.isUserUnlockingOrUnlocked(userId)) {
|
||||||
|
Slog.w(TAG, "User " + userId + " is no longer unlocked - exiting");
|
||||||
|
return;
|
||||||
|
}
|
||||||
synchronized (mLock) {
|
synchronized (mLock) {
|
||||||
ensureGroupStateLoadedLocked(userId);
|
ensureGroupStateLoadedLocked(userId);
|
||||||
reloadWidgetsMaskedStateForGroup(mSecurityPolicy.getGroupParent(userId));
|
reloadWidgetsMaskedStateForGroup(mSecurityPolicy.getGroupParent(userId));
|
||||||
|
|||||||
Reference in New Issue
Block a user