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:
Selim Gurun
2014-08-15 00:08:38 +00:00
committed by Android Git Automerger

View File

@@ -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) {