Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef60890e authored by Cary Clark's avatar Cary Clark
Browse files

Do not merge: clear text selection on rotate

Change-Id: Ic7cb33d830779a75dc6e71db064ceac3c1f90298
http://b/3025142
parent b5631f59
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -6959,6 +6959,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();