am ce8d3910: Remove logic to read the key from GServices
* commit 'ce8d39103f51eb418cad61ee3e0a80445307e46a': Remove logic to read the key from GServices
This commit is contained in:
@@ -369,12 +369,6 @@ public class DevelopmentSettings extends SettingsPreferenceFragment
|
|||||||
mAllPrefs.add(mProcessStats);
|
mAllPrefs.add(mProcessStats);
|
||||||
|
|
||||||
mWebViewDataReductionProxy = findAndInitCheckboxPref(WEBVIEW_DATA_REDUCTION_PROXY_KEY);
|
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) {
|
private ListPreference addListPreference(String prefKey) {
|
||||||
|
|||||||
Reference in New Issue
Block a user