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

Commit 06121b67 authored by Mady Mellor's avatar Mady Mellor Committed by Android Git Automerger
Browse files

am eb0918f1: am 450176c5: Merge "Fix: Text selection handles shouldn\'t be...

am eb0918f1: am 450176c5: Merge "Fix: Text selection handles shouldn\'t be shown in accessibility mode" into mnc-dev

* commit 'eb0918f1':
  Fix: Text selection handles shouldn't be shown in accessibility mode
parents 4f9f8537 eb0918f1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -9658,6 +9658,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
        // controllers interact with how selection behaves.
        if (mEditor != null) {
            mEditor.hideCursorAndSpanControllers();
            mEditor.stopTextActionMode();
        }
        CharSequence text = getIterableTextForAccessibility();
        if (Math.min(start, end) >= 0 && Math.max(start, end) <= text.length()) {