am ff22b182: Merge change 25401 into eclair

Merge commit 'ff22b182a2b8aade96d32c65b9af96ccb91f6296' into eclair-plus-aosp

* commit 'ff22b182a2b8aade96d32c65b9af96ccb91f6296':
  Add a null checking to avoid crash.
This commit is contained in:
Grace Kloba
2009-09-17 08:48:53 -07:00
committed by Android Git Automerger

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.