Merge change 25401 into eclair

* changes:
  Add a null checking to avoid crash.
This commit is contained in:
Android (Google) Code Review
2009-09-17 11:23:48 -04:00

View File

@@ -2908,6 +2908,8 @@ public class WebView extends AbsoluteLayout
getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
if (isTextView) {
if (mWebTextView == null) return;
imm.showSoftInput(mWebTextView, 0);
// Now we need to fake a touch event to place the cursor where the
// user touched.