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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user