summaryrefslogtreecommitdiffstats
path: root/core/java/android/webkit
diff options
context:
space:
mode:
authorJonathan Dixon <joth@google.com>2013-07-29 16:32:36 -0700
committerJonathan Dixon <joth@google.com>2013-07-29 16:42:42 -0700
commit09397ba3d5a25fd0a2ed8e315a82b5df694c5c9a (patch)
tree3d8f35aece880db8110cfc19cfdaf8368c555c74 /core/java/android/webkit
parentd8501485e30c1184292f15349b9e439343ff5b60 (diff)
downloadframeworks_base-09397ba3d5a25fd0a2ed8e315a82b5df694c5c9a.zip
frameworks_base-09397ba3d5a25fd0a2ed8e315a82b5df694c5c9a.tar.gz
frameworks_base-09397ba3d5a25fd0a2ed8e315a82b5df694c5c9a.tar.bz2
Make WebViewProvider constants private
In preperation for DEFAULT_TO_EXPERIMENTAL_WEBVIEW flag-flip, make this field and WEBVIEW_EXPERIMENTAL_PROPERTY private so we know all users are querying the property in a consistent way. Change-Id: Iabaffb8ac5a34e323b170339d47f872eb4c83042
Diffstat (limited to 'core/java/android/webkit')
-rw-r--r--core/java/android/webkit/WebViewFactory.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/webkit/WebViewFactory.java b/core/java/android/webkit/WebViewFactory.java
index b031765..53abf19 100644
--- a/core/java/android/webkit/WebViewFactory.java
+++ b/core/java/android/webkit/WebViewFactory.java
@@ -28,13 +28,13 @@ import android.util.Log;
* @hide
*/
public final class WebViewFactory {
- public static final boolean DEFAULT_TO_EXPERIMENTAL_WEBVIEW = false;
+ private static final boolean DEFAULT_TO_EXPERIMENTAL_WEBVIEW = false;
private static final String EXPERIMENTAL_PROPERTY_DEFAULT_OFF = "persist.sys.webview.exp";
private static final String EXPERIMENTAL_PROPERTY_DEFAULT_ON = "persist.sys.webview.exp_on";
// Modify the persisted property name when the experiment is on-by-default, so that any user
// setting override lives in a different property namespace.
- public static final String WEBVIEW_EXPERIMENTAL_PROPERTY = DEFAULT_TO_EXPERIMENTAL_WEBVIEW ?
+ private static final String WEBVIEW_EXPERIMENTAL_PROPERTY = DEFAULT_TO_EXPERIMENTAL_WEBVIEW ?
EXPERIMENTAL_PROPERTY_DEFAULT_ON : EXPERIMENTAL_PROPERTY_DEFAULT_OFF;
private static final String FORCE_PROVIDER_PROPERTY = "webview.force_provider";