am f6411533: am be3feda4: Do not show soft keyboard for readonly textfields.

Merge commit 'f6411533ef8a4e6759dd214636ba3ab1ea25f774'

* commit 'f6411533ef8a4e6759dd214636ba3ab1ea25f774':
  Do not show soft keyboard for readonly textfields.
This commit is contained in:
Leon Scroggins
2009-10-15 13:17:18 -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);
}