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

Commit 503a454e authored by Pawit Pornkitprasan's avatar Pawit Pornkitprasan
Browse files

WebView: fix crash when moving cursor

Caused by http://review.cyanogenmod.com/20731 when the cursor is
moved while no text is selected.

Change-Id: I71d49f1a16271dd0b7a0b4930f04d33a64a69b49
parent d227c957
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -7915,8 +7915,10 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
                    syncSelectionCursors();
                } else {
                    adjustSelectionCursors();
                    if (mSelectCallback != null) {
                        mSelectCallback.setOpenUrlVisibility();
                    }
                }
                if (mIsCaretSelection) {
                    resetCaretTimer();
                }