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

Commit 259292ff authored by Keisuke Kuroyanagi's avatar Keisuke Kuroyanagi
Browse files

Fix: Crash when modifying text while using drag accelerator.

Drag accelerator state was not cleared when the text was
modified; thus, mStartOffset could point to an invalid offset.

Bug: 21178876
Change-Id: Ic9b47375bab321fbc573e8a81e3fadf60309da78
parent aee0c2ce
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3156,6 +3156,7 @@ public class Editor {

            if (mSelectionModifierCursorController != null) {
                mSelectionModifierCursorController.hide();
                mSelectionModifierCursorController.resetTouchOffsets();
            }

            mSelectionActionMode = null;