Merge "Add API WebView.getWebViewLooper()" into pi-dev
am: 6951716952
Change-Id: I912664ece4b41853dcac61f0b6adf11a0eb854c0
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user