am c1653764: am ff22b182: Merge change 25401 into eclair

Merge commit 'c165376408804893c2f086282850862371910aed'

* commit 'c165376408804893c2f086282850862371910aed':
  Add a null checking to avoid crash.
This commit is contained in:
Grace Kloba
2009-09-17 12:15:46 -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.