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

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

am b25605cd: am 72d6835c: Merge "Accessibility focus should not clear...

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

* commit 'b25605cd':
  Accessibility focus should not clear selection when taken away.
parents 4b9320bd b25605cd
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -6268,8 +6268,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
            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.
@@ -6316,7 +6314,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
    void clearAccessibilityFocusNoCallbacks() {
        if ((mPrivateFlags2 & ACCESSIBILITY_FOCUSED) != 0) {
            mPrivateFlags2 &= ~ACCESSIBILITY_FOCUSED;
            setAccessibilityCursorPosition(ACCESSIBILITY_CURSOR_POSITION_UNDEFINED);
            invalidate();
        }
    }