Loading core/java/android/webkit/WebTextView.java +9 −4 Original line number Diff line number Diff line Loading @@ -896,7 +896,10 @@ import junit.framework.Assert; * WebTextView represents. */ /* package */ void setNodePointer(int ptr) { if (ptr != mNodePointer) { mNodePointer = ptr; setAdapterCustom(null); } } /** Loading Loading @@ -1051,11 +1054,12 @@ import junit.framework.Assert; } setHint(null); setThreshold(1); boolean autoComplete = false; if (single) { mWebView.requestLabel(mWebView.nativeFocusCandidateFramePointer(), mNodePointer); maxLength = mWebView.nativeFocusCandidateMaxLength(); boolean autoComplete = mWebView.nativeFocusCandidateIsAutoComplete(); autoComplete = mWebView.nativeFocusCandidateIsAutoComplete(); if (type != PASSWORD && (mAutoFillable || autoComplete)) { String name = mWebView.nativeFocusCandidateName(); if (name != null && name.length() > 0) { Loading @@ -1070,8 +1074,9 @@ import junit.framework.Assert; setInputType(inputType); setImeOptions(imeOptions); setVisibility(VISIBLE); AutoCompleteAdapter adapter = null; setAdapterCustom(adapter); if (!autoComplete) { setAdapterCustom(null); } } /** Loading core/java/android/webkit/WebView.java +1 −2 Original line number Diff line number Diff line Loading @@ -3246,8 +3246,7 @@ public class WebView extends AbsoluteLayout public void clearFormData() { checkThread(); if (inEditingMode()) { AutoCompleteAdapter adapter = null; mWebTextView.setAdapterCustom(adapter); mWebTextView.setAdapterCustom(null); } } Loading Loading
core/java/android/webkit/WebTextView.java +9 −4 Original line number Diff line number Diff line Loading @@ -896,7 +896,10 @@ import junit.framework.Assert; * WebTextView represents. */ /* package */ void setNodePointer(int ptr) { if (ptr != mNodePointer) { mNodePointer = ptr; setAdapterCustom(null); } } /** Loading Loading @@ -1051,11 +1054,12 @@ import junit.framework.Assert; } setHint(null); setThreshold(1); boolean autoComplete = false; if (single) { mWebView.requestLabel(mWebView.nativeFocusCandidateFramePointer(), mNodePointer); maxLength = mWebView.nativeFocusCandidateMaxLength(); boolean autoComplete = mWebView.nativeFocusCandidateIsAutoComplete(); autoComplete = mWebView.nativeFocusCandidateIsAutoComplete(); if (type != PASSWORD && (mAutoFillable || autoComplete)) { String name = mWebView.nativeFocusCandidateName(); if (name != null && name.length() > 0) { Loading @@ -1070,8 +1074,9 @@ import junit.framework.Assert; setInputType(inputType); setImeOptions(imeOptions); setVisibility(VISIBLE); AutoCompleteAdapter adapter = null; setAdapterCustom(adapter); if (!autoComplete) { setAdapterCustom(null); } } /** Loading
core/java/android/webkit/WebView.java +1 −2 Original line number Diff line number Diff line Loading @@ -3246,8 +3246,7 @@ public class WebView extends AbsoluteLayout public void clearFormData() { checkThread(); if (inEditingMode()) { AutoCompleteAdapter adapter = null; mWebTextView.setAdapterCustom(adapter); mWebTextView.setAdapterCustom(null); } } Loading