summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Selim Gurun <sgurun@google.com> 2014-09-03 12:34:16 -0700
committer Selim Gurun <sgurun@google.com> 2014-09-03 14:34:24 -0700
commitc7a8d06731e748eb29a983f112d075433fdf1fc1 (patch)
tree85e2276a4333c5d9f2a269dbbfdca6e93a1353bf
parentb10e39e7166e2c4854a3adb2c2d8fa9c72d816bf (diff)
Remove unpublished optOutDataReductionProxyApi
Bug: 17253647 Per Api council's request, remove this API. Change-Id: I8e706cc7173b88f3f13b2ac0697f54b25f163798
-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 334f789541fe..a0d47e4d746f 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 e1f19ee0e3e7..edfa7af3e69d 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 48f3ca370454..20bb932ef52d 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();