Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a33c4f9 authored by Selim Gurun's avatar Selim Gurun Committed by Android Git Automerger
Browse files

am 6735020a: am d261243c: am a3106d1d: Merge "Revert "Adding...

am 6735020a: am d261243c: am a3106d1d: Merge "Revert "Adding freeMemoryForTests static method to WebView.""

* commit '6735020a':
  Revert "Adding freeMemoryForTests static method to WebView."
parents b311739d 6735020a
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -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
+0 −5
Original line number Diff line number Diff line
@@ -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) }