+128
−15
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The Accessibility events order for gesture end and touch interaction end are exchanged in following conditons: 1. touching duration is very short. 2. Hover exit events comes right away after receving action_up. It leads to incorrect state of touchExplorer and sending incorrect hoverevent in next touch-interaction. In unit test part, there are two changes: 1. TestHandler used in current thread to reduce the execution time. 2. Add the created order of the mesaag to compare MsgInfo so that it has correct order in the queue. Bug: 152265599 Test: atest FrameworksServicesTests:com.android.server.accessibility.gestures Test: atest android.accessibilityservice.cts.TouchExplorerTest Test: manual test Change-Id: Ia60d51414dd63a2a30be61372e8fbd2e3d9f723f