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
This commit is contained in:
Selim Gurun
2014-08-14 15:19:15 -07:00
parent 17224826f8
commit ce8d39103f

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