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

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

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

* commit '61e30742dbf3f277bb9699a0c0a5ca36f14c854a':
  Some accessibility events wrongly filtered out (regression).
parents 2c53e991 b986605f
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);
                }