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

Commit 9768832d authored by alanv's avatar alanv
Browse files

Fix paragraph iterator.

Bug: 6509239
Change-Id: I628d7fd07cda24c66a0fa3f456e0141786e768a5
parent d51a68b3
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -287,12 +287,12 @@ public final class AccessibilityIterators {
                    }
                }
            }
            while (start < textLength && mText.charAt(start) == '\n') {
                start++;
            }
            if (start < 0) {
                return null;
            }
            while (start < textLength && mText.charAt(start) == '\n') {
                start++;
            }
            int end = start;
            for (int i = end + 1; i < textLength; i++) {
                end = i;