am be3feda4: Do not show soft keyboard for readonly textfields.
Merge commit 'be3feda46eac18a05aaea47d7ef34b611f8be6be' into eclair-mr2-plus-aosp * commit 'be3feda46eac18a05aaea47d7ef34b611f8be6be': Do not show soft keyboard for readonly textfields.
This commit is contained in:
@@ -4672,9 +4672,6 @@ public class WebView extends AbsoluteLayout
|
|||||||
}
|
}
|
||||||
int x = viewToContentX((int) event.getX() + mWebTextView.getLeft());
|
int x = viewToContentX((int) event.getX() + mWebTextView.getLeft());
|
||||||
int y = viewToContentY((int) event.getY() + mWebTextView.getTop());
|
int y = viewToContentY((int) event.getY() + mWebTextView.getTop());
|
||||||
// In case the soft keyboard has been dismissed, bring it back up.
|
|
||||||
InputMethodManager.getInstance(getContext()).showSoftInput(mWebTextView,
|
|
||||||
0);
|
|
||||||
if (nativeFocusNodePointer() != nativeCursorNodePointer()) {
|
if (nativeFocusNodePointer() != nativeCursorNodePointer()) {
|
||||||
nativeMotionUp(x, y, mNavSlop);
|
nativeMotionUp(x, y, mNavSlop);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user