Merge "Use WebViewFactory accessors to find experimental state"
diff --git a/src/com/android/settings/DevelopmentSettings.java b/src/com/android/settings/DevelopmentSettings.java
index db68a14..8ed9a7e 100644
--- a/src/com/android/settings/DevelopmentSettings.java
+++ b/src/com/android/settings/DevelopmentSettings.java
@@ -1107,16 +1107,14 @@
private void writeExperimentalWebViewOptions() {
if (mExperimentalWebView != null) {
- SystemProperties.set(WebViewFactory.WEBVIEW_EXPERIMENTAL_PROPERTY,
- mExperimentalWebView.isChecked() ? "true" : null);
+ WebViewFactory.setUseExperimentalWebView(mExperimentalWebView.isChecked());
pokeSystemProperties();
}
}
private void updateExperimentalWebViewOptions() {
if (mExperimentalWebView != null) {
- updateCheckBox(mExperimentalWebView, SystemProperties.getBoolean(
- WebViewFactory.WEBVIEW_EXPERIMENTAL_PROPERTY, false));
+ updateCheckBox(mExperimentalWebView, WebViewFactory.useExperimentalWebView());
}
}