Loading core/java/android/view/View.java +2 −0 Original line number Diff line number Diff line Loading @@ -7010,10 +7010,12 @@ public class View implements Drawable.Callback, KeyEvent.Callback, int current = getAccessibilityCursorPosition(); if (current == ACCESSIBILITY_CURSOR_POSITION_UNDEFINED) { current = text.length(); setAccessibilityCursorPosition(current); } else if (granularity == AccessibilityNodeInfo.MOVEMENT_GRANULARITY_CHARACTER) { // When traversing by character we always put the cursor after the character // to ease edit and have to compensate before asking the for previous segment. current--; setAccessibilityCursorPosition(current); } final int[] range = iterator.preceding(current); if (range == null) { Loading Loading
core/java/android/view/View.java +2 −0 Original line number Diff line number Diff line Loading @@ -7010,10 +7010,12 @@ public class View implements Drawable.Callback, KeyEvent.Callback, int current = getAccessibilityCursorPosition(); if (current == ACCESSIBILITY_CURSOR_POSITION_UNDEFINED) { current = text.length(); setAccessibilityCursorPosition(current); } else if (granularity == AccessibilityNodeInfo.MOVEMENT_GRANULARITY_CHARACTER) { // When traversing by character we always put the cursor after the character // to ease edit and have to compensate before asking the for previous segment. current--; setAccessibilityCursorPosition(current); } final int[] range = iterator.preceding(current); if (range == null) { Loading