Merge commit 'e64e090e0d4f70233fac901ac1b977123f6f0452' into kraken * commit 'e64e090e0d4f70233fac901ac1b977123f6f0452': Only include WEB_EDIT if there are more textfields.
This commit is contained in:
@@ -818,8 +818,10 @@ import java.util.ArrayList;
|
|||||||
boolean single = true;
|
boolean single = true;
|
||||||
boolean inPassword = false;
|
boolean inPassword = false;
|
||||||
int maxLength = -1;
|
int maxLength = -1;
|
||||||
int inputType = EditorInfo.TYPE_CLASS_TEXT
|
int inputType = EditorInfo.TYPE_CLASS_TEXT;
|
||||||
| EditorInfo.TYPE_TEXT_VARIATION_WEB_EDIT_TEXT;
|
if (mWebView.nativeFocusCandidateHasNextTextfield()) {
|
||||||
|
inputType |= EditorInfo.TYPE_TEXT_VARIATION_WEB_EDIT_TEXT;
|
||||||
|
}
|
||||||
int imeOptions = EditorInfo.IME_FLAG_NO_EXTRACT_UI
|
int imeOptions = EditorInfo.IME_FLAG_NO_EXTRACT_UI
|
||||||
| EditorInfo.IME_FLAG_NO_FULLSCREEN;
|
| EditorInfo.IME_FLAG_NO_FULLSCREEN;
|
||||||
switch (type) {
|
switch (type) {
|
||||||
|
|||||||
@@ -7168,6 +7168,7 @@ public class WebView extends AbsoluteLayout
|
|||||||
private native int nativeFindAll(String findLower, String findUpper);
|
private native int nativeFindAll(String findLower, String findUpper);
|
||||||
private native void nativeFindNext(boolean forward);
|
private native void nativeFindNext(boolean forward);
|
||||||
/* package */ native int nativeFocusCandidateFramePointer();
|
/* package */ native int nativeFocusCandidateFramePointer();
|
||||||
|
/* package */ native boolean nativeFocusCandidateHasNextTextfield();
|
||||||
private native boolean nativeFocusCandidateIsPassword();
|
private native boolean nativeFocusCandidateIsPassword();
|
||||||
private native boolean nativeFocusCandidateIsRtlText();
|
private native boolean nativeFocusCandidateIsRtlText();
|
||||||
private native boolean nativeFocusCandidateIsTextInput();
|
private native boolean nativeFocusCandidateIsTextInput();
|
||||||
|
|||||||
Reference in New Issue
Block a user