am d247aadf: Bring up the soft keyboard when touching a focused textfield.

Merge commit 'd247aadfc4b8117130908c44a2ed1f6d290a92ef' into eclair-plus-aosp

* commit 'd247aadfc4b8117130908c44a2ed1f6d290a92ef':
  Bring up the soft keyboard when touching a focused textfield.
This commit is contained in:
Leon Scroggins
2009-09-14 14:18:12 -07:00
committed by Android Git Automerger

View File

@@ -4885,6 +4885,9 @@ 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);
nativeTextInputMotionUp(x, y);
}