We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 718fb9f + 438a3b3 commit 0e7adafCopy full SHA for 0e7adaf
core/java/android/view/View.java
@@ -7015,10 +7015,12 @@ private boolean previousAtGranularity(int granularity) {
7015
int current = getAccessibilityCursorPosition();
7016
if (current == ACCESSIBILITY_CURSOR_POSITION_UNDEFINED) {
7017
current = text.length();
7018
+ setAccessibilityCursorPosition(current);
7019
} else if (granularity == AccessibilityNodeInfo.MOVEMENT_GRANULARITY_CHARACTER) {
7020
// When traversing by character we always put the cursor after the character
7021
// to ease edit and have to compensate before asking the for previous segment.
7022
current--;
7023
7024
}
7025
final int[] range = iterator.preceding(current);
7026
if (range == null) {
0 commit comments