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

Commit 50aa59f8 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by android-build-merger
Browse files

Merge "Skip app widget config changes when user locked." into nyc-dev am: 5c2183a8

am: 455a3492

* commit '455a3492':
  Skip app widget config changes when user locked.
parents 60291ef2 455a3492
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -332,7 +332,12 @@ class AppWidgetServiceImpl extends IAppWidgetService.Stub implements WidgetBacku
                for (int i = N - 1; i >= 0; i--) {
                    Provider provider = installedProviders.get(i);

                    ensureGroupStateLoadedLocked(provider.getUserId());
                    final int userId = provider.getUserId();
                    if (!mUserManager.isUserUnlocked(userId) ||
                            isProfileWithLockedParent(userId)) {
                        continue;
                    }
                    ensureGroupStateLoadedLocked(userId);

                    if (!removedProviders.contains(provider.id)) {
                        final boolean changed = updateProvidersForPackageLocked(