Skip to content
Commit d8961979 authored by Arthur Hung's avatar Arthur Hung
Browse files

Fix talkback unable to select pip window buttons

While talkback enabled, single touch would be translated to hover
events, and all touch events would first sent to pip input consumer
then dispatch them to pip menu activity. So we should dispatch these
hover events to dispatchGenericMotionEvent of menu activity to make sure
them would be handled correctly.

- It should unregister PictureInPictureActionReplacingConnection when
  menu activity shown to make sure a11y action can be performed by default.
- Move overridePendingTransition to onCreate to ensure a11y window infos
  can be updated after first time finish.

Bug: 142268623
Test: Enable talkback and launch pip, click buttons on pip window
Test: atest AbstractAccessibilityServiceConnectionTest
Change-Id: I886106d3d36c54e4540e25056c79dad5c82405e8
parent 8e554f88
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment