From c7a8d06731e748eb29a983f112d075433fdf1fc1 Mon Sep 17 00:00:00 2001 From: Selim Gurun Date: Wed, 3 Sep 2014 12:34:16 -0700 Subject: Remove unpublished optOutDataReductionProxyApi Bug: 17253647 Per Api council's request, remove this API. Change-Id: I8e706cc7173b88f3f13b2ac0697f54b25f163798 --- api/current.txt | 1 - core/java/android/webkit/WebView.java | 15 --------------- core/java/android/webkit/WebViewFactoryProvider.java | 6 ------ 3 files changed, 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 - * Data Compression Proxy - */ - 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(); -- cgit v1.1