diff --git a/api/current.txt b/api/current.txt index 334f789541fea..a0d47e4d746fd 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 e1f19ee0e3e7c..edfa7af3e69dc 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -1809,21 +1809,6 @@ public class WebView extends AbsoluteLayout getFactory().getStatics().setWebContentsDebuggingEnabled(enabled); } - /** - * 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. * diff --git a/core/java/android/webkit/WebViewFactoryProvider.java b/core/java/android/webkit/WebViewFactoryProvider.java index 48f3ca3704549..20bb932ef52de 100644 --- a/core/java/android/webkit/WebViewFactoryProvider.java +++ b/core/java/android/webkit/WebViewFactoryProvider.java @@ -59,12 +59,6 @@ public interface WebViewFactoryProvider { */ void clearClientCertPreferences(Runnable onCleared); - /** - * Implements the API method: - * {@link android.webkit.WebView#optOutDataReductionProxy() } - */ - void optOutDataReductionProxy(); - /** * Implements the API method: * {@link android.webkit.WebView#setSlowWholeDocumentDrawEnabled(boolean) }