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

Commit 6cedefa2 authored by Clara Bayarri's avatar Clara Bayarri Committed by Android (Google) Code Review
Browse files

Merge "Editor: Fix crash when selecting text on a non-editable TextView"

parents 63473869 7fc946eb
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -2954,9 +2954,12 @@ public class Editor {
            }
            mSelectionHandleHeight = Math.max(
                    mSelectHandleLeft.getMinimumHeight(), mSelectHandleRight.getMinimumHeight());
            getInsertionController().getHandle();
            InsertionPointCursorController insertionController = getInsertionController();
            if (insertionController != null) {
                insertionController.getHandle();
                mInsertionHandleHeight = mSelectHandleCenter.getMinimumHeight();
            }
        }

        @Override
        public boolean onCreateActionMode(ActionMode mode, Menu menu) {