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:
Leon Scroggins
2009-10-15 13:07:40 -07:00
committed by Android Git Automerger

View File

@@ -4672,9 +4672,6 @@ public class WebView extends AbsoluteLayout
}
int x = viewToContentX((int) event.getX() + mWebTextView.getLeft());
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()) {
nativeMotionUp(x, y, mNavSlop);
}