Revert "Adding freeMemoryForTests static method to WebView."

This reverts commit c6a2a6e20f.

Change-Id: If9e1b3420ee239ab3166850e853d5949821f99e1
This commit is contained in:
Selim Gurun
2014-01-23 22:13:40 +00:00
parent c6a2a6e20f
commit 355ed4ac43
2 changed files with 0 additions and 14 deletions

View File

@@ -685,15 +685,6 @@ public class WebView extends AbsoluteLayout
getFactory().getStatics().setPlatformNotificationsEnabled(false);
}
/**
* 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

View File

@@ -49,11 +49,6 @@ public interface WebViewFactoryProvider {
*/
String getDefaultUserAgent(Context context);
/**
* Used for tests only.
*/
void freeMemoryForTests();
/**
* Implements the API method:
* {@link android.webkit.WebView#setWebContentsDebuggingEnabled(boolean) }