Skip to content

Commit 5a00661

Browse files
committed
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
1 parent 19eaf0a commit 5a00661

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

services/java/com/android/server/accessibility/AccessibilityManagerService.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1731,8 +1731,7 @@ final class SecurityPolicy {
17311731
private static final int RETRIEVAL_ALLOWING_WINDOW_CHANGE_EVENT_TYPES =
17321732
AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED
17331733
| AccessibilityEvent.TYPE_VIEW_HOVER_ENTER
1734-
| AccessibilityEvent.TYPE_VIEW_HOVER_EXIT
1735-
| AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUSED;
1734+
| AccessibilityEvent.TYPE_VIEW_HOVER_EXIT;
17361735

17371736
private int mRetrievalAlowingWindowId;
17381737

0 commit comments

Comments
 (0)