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

Commit 222a0f4e authored by Nicholas Sauer's avatar Nicholas Sauer Committed by Android (Google) Code Review
Browse files

Merge "Make booleans final."

parents 0bdf0188 ce000798
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -20124,10 +20124,10 @@ public class PackageManagerService extends IPackageManager.Stub
        ContentObserver co = new ContentObserver(mHandler) {
            @Override
            public void onChange(boolean selfChange) {
                boolean ephemeralFeatureDisabled =
                final boolean ephemeralFeatureDisabled =
                        Global.getInt(resolver, Global.ENABLE_EPHEMERAL_FEATURE, 1) == 0;
                for (int userId : UserManagerService.getInstance().getUserIds()) {
                    boolean instantAppsDisabledForUser =
                    final boolean instantAppsDisabledForUser =
                            ephemeralFeatureDisabled || Secure.getIntForUser(resolver,
                                    Secure.INSTANT_APPS_ENABLED, 1, userId) == 0;
                    mWebInstantAppsDisabled.put(userId, instantAppsDisabledForUser);