DO NOT MERGE.

Fix for http://b/issue?id=2292512

When pressing the trackball on a WebTextView, open the IME.

Change-Id: I5ea74ca7ce51ac509dc8649b8f8d1869287bb7a9
This commit is contained in:
Leon Scroggins
2009-12-01 14:42:55 -05:00
parent 0bd1eeaf90
commit db08d5cd44

View File

@@ -4621,6 +4621,7 @@ public class WebView extends AbsoluteLayout
View v = mWebTextView;
int x = viewToContentX((v.getLeft() + v.getRight()) >> 1);
int y = viewToContentY((v.getTop() + v.getBottom()) >> 1);
displaySoftKeyboard(true);
nativeTextInputMotionUp(x, y);
}
}