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

am: 6951716952

Change-Id: I912664ece4b41853dcac61f0b6adf11a0eb854c0
This commit is contained in:
Gustav Sennton
2018-03-21 12:17:45 +00:00
committed by android-build-merger
2 changed files with 9 additions and 0 deletions

View File

@@ -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();

View File

@@ -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.
*/