am dd8f13fa: Merge "Do not merge: clear text selection on rotate" into gingerbread

Merge commit 'dd8f13faf1cb8ad7a5f2573f09fe8436ec8a4ac2' into gingerbread-plus-aosp

* commit 'dd8f13faf1cb8ad7a5f2573f09fe8436ec8a4ac2':
  Do not merge: clear text selection on rotate
This commit is contained in:
Cary Clark
2010-09-22 08:35:58 -07:00
committed by Android Git Automerger

View File

@@ -6969,6 +6969,7 @@ public class WebView extends AbsoluteLayout
case UPDATE_TEXT_ENTRY_MSG_ID: case UPDATE_TEXT_ENTRY_MSG_ID:
// this is sent after finishing resize in WebViewCore. Make // this is sent after finishing resize in WebViewCore. Make
// sure the text edit box is still on the screen. // sure the text edit box is still on the screen.
selectionDone();
if (inEditingMode() && nativeCursorIsTextInput()) { if (inEditingMode() && nativeCursorIsTextInput()) {
mWebTextView.bringIntoView(); mWebTextView.bringIntoView();
rebuildWebTextView(); rebuildWebTextView();