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

Commit b25605cd authored by Svetoslav Ganov's avatar Svetoslav Ganov Committed by Android Git Automerger
Browse files

am 72d6835c: Merge "Accessibility focus should not clear selection when taken away." into jb-dev

* commit '72d6835c':
  Accessibility focus should not clear selection when taken away.
parents 62ac5e0b 72d6835c
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -6279,8 +6279,6 @@ public class View implements Drawable.Callback, Drawable.Callback2, KeyEvent.Cal
            invalidate();
            sendAccessibilityEvent(AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED);
            notifyAccessibilityStateChanged();
            // Clear the text navigation state.
            setAccessibilityCursorPosition(ACCESSIBILITY_CURSOR_POSITION_UNDEFINED);
        }
        // Clear the global reference of accessibility focus if this
        // view or any of its descendants had accessibility focus.
@@ -6327,7 +6325,6 @@ public class View implements Drawable.Callback, Drawable.Callback2, KeyEvent.Cal
    void clearAccessibilityFocusNoCallbacks() {
        if ((mPrivateFlags2 & ACCESSIBILITY_FOCUSED) != 0) {
            mPrivateFlags2 &= ~ACCESSIBILITY_FOCUSED;
            setAccessibilityCursorPosition(ACCESSIBILITY_CURSOR_POSITION_UNDEFINED);
            invalidate();
        }
    }