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

Commit 69517169 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add API WebView.getWebViewLooper()" into pi-dev

parents 34aae0da 6abde8b1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -52004,6 +52004,7 @@ package android.webkit {
    method public android.webkit.WebChromeClient getWebChromeClient();
    method public static java.lang.ClassLoader getWebViewClassLoader();
    method public android.webkit.WebViewClient getWebViewClient();
    method public android.os.Looper getWebViewLooper();
    method public void goBack();
    method public void goBackOrForward(int);
    method public void goForward();
+8 −0
Original line number Diff line number Diff line
@@ -2447,6 +2447,14 @@ public class WebView extends AbsoluteLayout
        return getFactory().getWebViewClassLoader();
    }

    /**
     * Returns the {@link Looper} corresponding to the thread on which WebView calls must be made.
     */
    @NonNull
    public Looper getWebViewLooper() {
        return mWebViewThread;
    }

    /**
     * Returns the {@link Looper} corresponding to the thread on which WebView calls must be made.
     */