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

Commit 5a00661b authored by Svetoslav Ganov's avatar Svetoslav Ganov
Browse files

Accessibility focus should not affect the currently active window.

1. The event of setting an accessibility focus on a view should not
   make the host window the currently active one.

bug:6400648

Change-Id: Ib45c255f441c38489ee9d4ab5f284550ac5f6b01
parent 19eaf0a7
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1731,8 +1731,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub
        private static final int RETRIEVAL_ALLOWING_WINDOW_CHANGE_EVENT_TYPES =
            AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED
            | AccessibilityEvent.TYPE_VIEW_HOVER_ENTER
            | AccessibilityEvent.TYPE_VIEW_HOVER_EXIT
            | AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUSED;
            | AccessibilityEvent.TYPE_VIEW_HOVER_EXIT;

        private int mRetrievalAlowingWindowId;