Merge "Expose WebView#onCheckIsTextEditor" into pi-dev
am: ebe856a90e
Change-Id: I1aa2c3d27c4b11248451aec3723d4eeef8bdbb90
This commit is contained in:
@@ -6663,6 +6663,7 @@ package android.webkit {
|
|||||||
method public abstract android.os.Handler getHandler(android.os.Handler);
|
method public abstract android.os.Handler getHandler(android.os.Handler);
|
||||||
method public abstract void onActivityResult(int, int, android.content.Intent);
|
method public abstract void onActivityResult(int, int, android.content.Intent);
|
||||||
method public abstract void onAttachedToWindow();
|
method public abstract void onAttachedToWindow();
|
||||||
|
method public default boolean onCheckIsTextEditor();
|
||||||
method public abstract void onConfigurationChanged(android.content.res.Configuration);
|
method public abstract void onConfigurationChanged(android.content.res.Configuration);
|
||||||
method public abstract android.view.inputmethod.InputConnection onCreateInputConnection(android.view.inputmethod.EditorInfo);
|
method public abstract android.view.inputmethod.InputConnection onCreateInputConnection(android.view.inputmethod.EditorInfo);
|
||||||
method public abstract void onDetachedFromWindow();
|
method public abstract void onDetachedFromWindow();
|
||||||
|
|||||||
@@ -3121,6 +3121,11 @@ public class WebView extends AbsoluteLayout
|
|||||||
mProvider.getViewDelegate().onActivityResult(requestCode, resultCode, data);
|
mProvider.getViewDelegate().onActivityResult(requestCode, resultCode, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean onCheckIsTextEditor() {
|
||||||
|
return mProvider.getViewDelegate().onCheckIsTextEditor();
|
||||||
|
}
|
||||||
|
|
||||||
/** @hide */
|
/** @hide */
|
||||||
@Override
|
@Override
|
||||||
protected void encodeProperties(@NonNull ViewHierarchyEncoder encoder) {
|
protected void encodeProperties(@NonNull ViewHierarchyEncoder encoder) {
|
||||||
|
|||||||
@@ -424,6 +424,11 @@ public interface WebViewProvider {
|
|||||||
public Handler getHandler(Handler originalHandler);
|
public Handler getHandler(Handler originalHandler);
|
||||||
|
|
||||||
public View findFocus(View originalFocusedView);
|
public View findFocus(View originalFocusedView);
|
||||||
|
|
||||||
|
@SuppressWarnings("unused")
|
||||||
|
default boolean onCheckIsTextEditor() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ScrollDelegate {
|
interface ScrollDelegate {
|
||||||
|
|||||||
Reference in New Issue
Block a user