summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSelim Gurun <sgurun@google.com>2014-09-03 22:16:53 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-09-03 22:18:13 +0000
commit628025335aaf74be7804d176e8d95ea7f9c9707d (patch)
treeec2673a0044000baa947f8e05340c356dc5ead9c
parentd1dc910effbbe0998a00e428767eed562aa6f25c (diff)
parentc7a8d06731e748eb29a983f112d075433fdf1fc1 (diff)
downloadframeworks_base-628025335aaf74be7804d176e8d95ea7f9c9707d.zip
frameworks_base-628025335aaf74be7804d176e8d95ea7f9c9707d.tar.gz
frameworks_base-628025335aaf74be7804d176e8d95ea7f9c9707d.tar.bz2
Merge "Remove unpublished optOutDataReductionProxyApi" into lmp-dev
-rw-r--r--api/current.txt1
-rw-r--r--core/java/android/webkit/WebView.java15
-rw-r--r--core/java/android/webkit/WebViewFactoryProvider.java6
3 files changed, 0 insertions, 22 deletions
diff --git a/api/current.txt b/api/current.txt
index 334f789..a0d47e4 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -36795,7 +36795,6 @@ package android.webkit {
method public deprecated void onGlobalFocusChanged(android.view.View, android.view.View);
method public void onPause();
method public void onResume();
- method public static void optOutDataReductionProxy();
method public boolean overlayHorizontalScrollbar();
method public boolean overlayVerticalScrollbar();
method public boolean pageDown(boolean);
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java
index e1f19ee..edfa7af 100644
--- a/core/java/android/webkit/WebView.java
+++ b/core/java/android/webkit/WebView.java
@@ -1810,21 +1810,6 @@ public class WebView extends AbsoluteLayout
}
/**
- * Sets whether the application wants to opt out from using the Data Reduction Proxy
- * service.
- * Data reduction proxy can only be enabled by the user and will almost always be
- * transparent to the application. In rare cases where using the proxy interferes
- * with the app, the application developer can use this API to opt out from using the
- * proxy. Note that this may increase network bandwidth usage.
- *
- * See <a href=http://developer.chrome.com/multidevice/data-compression>
- * Data Compression Proxy</a>
- */
- public static void optOutDataReductionProxy() {
- getFactory().getStatics().optOutDataReductionProxy();
- }
-
- /**
* Gets the list of currently loaded plugins.
*
* @return the list of currently loaded plugins
diff --git a/core/java/android/webkit/WebViewFactoryProvider.java b/core/java/android/webkit/WebViewFactoryProvider.java
index 48f3ca3..20bb932 100644
--- a/core/java/android/webkit/WebViewFactoryProvider.java
+++ b/core/java/android/webkit/WebViewFactoryProvider.java
@@ -61,12 +61,6 @@ public interface WebViewFactoryProvider {
/**
* Implements the API method:
- * {@link android.webkit.WebView#optOutDataReductionProxy() }
- */
- void optOutDataReductionProxy();
-
- /**
- * Implements the API method:
* {@link android.webkit.WebView#setSlowWholeDocumentDrawEnabled(boolean) }
*/
void enableSlowWholeDocumentDraw();