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

This commit is contained in:
Cary Clark
2010-09-22 08:29:12 -07:00
committed by Android (Google) Code Review

View File

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