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

Commit ce8d3910 authored by Selim Gurun's avatar Selim Gurun
Browse files

Remove logic to read the key from GServices

Bug: 12492817

The key is now stored in webview apk so remove the logic
to read from GServices.

Change-Id: I9f9b57d59885d93023be307a80d5a7db143ffbfe
parent 17224826
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -369,12 +369,6 @@ public class DevelopmentSettings extends SettingsPreferenceFragment
        mAllPrefs.add(mProcessStats);

        mWebViewDataReductionProxy = findAndInitCheckboxPref(WEBVIEW_DATA_REDUCTION_PROXY_KEY);
        String key = Settings.Global.getString(getActivity().getContentResolver(),
                Settings.Global.WEBVIEW_DATA_REDUCTION_PROXY_KEY);
        // Disable the selection if the key is not available for some reason.
        if (key == null || key.isEmpty()) {
            disableForUser(mWebViewDataReductionProxy);
        }
    }

    private ListPreference addListPreference(String prefKey) {