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

Commit f46bfaa5 authored by Jesse Evans's avatar Jesse Evans Committed by android-build-merger
Browse files

Merge "Rename WEB_ACTION_ENABLED to INSTANT_APPS_ENABLED" into oc-dev am: 12c9f41c

am: e1a307ea

Change-Id: Iee0963f524d4c7a689111a551fc8f7febf195dbb
parents 5564e516 e1a307ea
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ public class ManageDomainUrls extends SettingsPreferenceFragment
                mWebAction.setTitle(R.string.web_action_enable_title);
                mWebAction.setSummary(R.string.web_action_enable_summary);
                mWebAction.setChecked(Settings.Secure.getInt(getContentResolver(),
                        Settings.Secure.WEB_ACTION_ENABLED, 1) != 0);
                        Settings.Secure.INSTANT_APPS_ENABLED, 1) != 0);
                mWebAction.setOnPreferenceChangeListener(this);
                webActionCategory.addPreference(mWebAction);

@@ -164,8 +164,7 @@ public class ManageDomainUrls extends SettingsPreferenceFragment
            boolean checked = (boolean) newValue;
            Settings.Secure.putInt(
                    getContentResolver(),
                    Settings.Secure.WEB_ACTION_ENABLED, checked ? 1 : 0);
            mWebAction.setChecked(checked);
                    Settings.Secure.INSTANT_APPS_ENABLED, checked ? 1 : 0);
            return true;
        }
        return false;