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

Commit ce000798 authored by Nicholas Sauer's avatar Nicholas Sauer
Browse files

Make booleans final.

Follow up on ag/5838263.

bug: 121169664
Test: m
Change-Id: I80bacdce9bd1dd62ea5b703d3bee91d34167060a
parent aa63fe56
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);