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

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

am d23f9fa7: am 94cc958d: Some accessibility events wrongly filtered out (regression).

* commit 'd23f9fa776c6f3be2b177ccd64e1ed8ceeb77a20':
  Some accessibility events wrongly filtered out (regression).
parents 0b537793 3285d9be
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3277,7 +3277,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub {
                        // But we still have not gotten the window state from the
                        // window manager, so delay the notification until then.
                        AccessibilityWindowInfo window = findWindowById(event.getWindowId());
                        if (window == null || !window.isFocused()) {
                        if (window == null) {
                            mShowingFocusedWindowEvent = AccessibilityEvent.obtain(event);
                            return false;
                        }
@@ -3377,7 +3377,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub {
            if (mShowingFocusedWindowEvent != null) {
                final int windowId = mShowingFocusedWindowEvent.getWindowId();
                AccessibilityWindowInfo window = findWindowById(windowId);
                if (window != null && window.isFocused()) {
                if (window != null) {
                    // Sending does the recycle.
                    sendAccessibilityEvent(mShowingFocusedWindowEvent, mCurrentUserId);
                }