Merge "Fix paragraph iterator." into jb-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a1daf82732
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user