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

Commit e2714d73 authored by Ben Lin's avatar Ben Lin Committed by Android (Google) Code Review
Browse files

Merge "Fix accessibility regression." into rvc-dev

parents dde631ac a6024e86
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -688,11 +688,11 @@ public class PipTouchHandler {
                break;
            }
            case MotionEvent.ACTION_HOVER_EXIT: {
                mHideMenuAfterShown = true;
                // If Touch Exploration is enabled, some a11y services (e.g. Talkback) is probably
                // on and changing MotionEvents into HoverEvents.
                // Let's not enable menu show/hide for a11y services.
                if (!mAccessibilityManager.isTouchExplorationEnabled()) {
                    mHideMenuAfterShown = true;
                    mMenuController.hideMenu();
                }
                if (!shouldDeliverToMenu && mSendingHoverAccessibilityEvents) {