diff options
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/webkit/WebView.java | 9 | ||||
| -rw-r--r-- | core/java/android/webkit/WebViewFactoryProvider.java | 5 |
2 files changed, 0 insertions, 14 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index f276e14..5bc39f1 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -686,15 +686,6 @@ public class WebView extends AbsoluteLayout } /** - * Used only by internal tests to free up memory. - * @hide - */ - public static void freeMemoryForTests() { - checkThread(); - getFactory().getStatics().freeMemoryForTests(); - } - - /** * Informs WebView of the network state. This is used to set * the JavaScript property window.navigator.isOnline and * generates the online/offline event as specified in HTML5, sec. 5.7.7 diff --git a/core/java/android/webkit/WebViewFactoryProvider.java b/core/java/android/webkit/WebViewFactoryProvider.java index e391aaf..9d9d882 100644 --- a/core/java/android/webkit/WebViewFactoryProvider.java +++ b/core/java/android/webkit/WebViewFactoryProvider.java @@ -50,11 +50,6 @@ public interface WebViewFactoryProvider { String getDefaultUserAgent(Context context); /** - * Used for tests only. - */ - void freeMemoryForTests(); - - /** * Implements the API method: * {@link android.webkit.WebView#setWebContentsDebuggingEnabled(boolean) } */ |
