summaryrefslogtreecommitdiffstats
path: root/core/java/android/webkit/WebView.java
diff options
context:
space:
mode:
authorSelim Gurun <sgurun@google.com>2014-05-05 15:59:39 -0700
committerSelim Gurun <sgurun@google.com>2014-05-05 17:28:04 -0700
commita83f1e3d230300fc49aea0fb49f9f1f6bf628764 (patch)
tree43409f19d49485859485e0036fd15dabb05dbdb0 /core/java/android/webkit/WebView.java
parent6b003c9e3c0d3e5e31d9578e6d15facc6553e45e (diff)
downloadframeworks_base-a83f1e3d230300fc49aea0fb49f9f1f6bf628764.zip
frameworks_base-a83f1e3d230300fc49aea0fb49f9f1f6bf628764.tar.gz
frameworks_base-a83f1e3d230300fc49aea0fb49f9f1f6bf628764.tar.bz2
Add frameworks/base changes for enabling reduction proxy
Bug:12492817 Add an experimental webview setting to developer options to enable data reduction proxy. Change-Id: Id73d7f5d655a7de18afff766c5c78209c92964ea
Diffstat (limited to 'core/java/android/webkit/WebView.java')
-rw-r--r--core/java/android/webkit/WebView.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java
index d06cd75..4b2b52c 100644
--- a/core/java/android/webkit/WebView.java
+++ b/core/java/android/webkit/WebView.java
@@ -251,6 +251,15 @@ public class WebView extends AbsoluteLayout
implements ViewTreeObserver.OnGlobalFocusChangeListener,
ViewGroup.OnHierarchyChangeListener, ViewDebug.HierarchyHandler {
+ /**
+ * Broadcast Action: Indicates the data reduction proxy setting changed.
+ * Sent by the settings app when user changes the data reduction proxy value. This intent will
+ * always stay as a hidden API.
+ * @hide
+ */
+ public static final String DATA_REDUCTION_PROXY_SETTING_CHANGED =
+ "android.webkit.DATA_REDUCTION_PROXY_SETTING_CHANGED";
+
private static final String LOGTAG = "WebView";
// Throwing an exception for incorrect thread usage if the