am a1daf827: Merge "Fix paragraph iterator." into jb-dev

* commit 'a1daf82732c8529bcf9258f42e2cc22be9fa684b':
  Fix paragraph iterator.
This commit is contained in:
Svetoslav Ganov
2012-05-17 17:25:44 -07:00
committed by Android Git Automerger

View File

@@ -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;