+61
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
A few releases ago this codebase started tracking the raw (unmodified) and regular (possibly modified) event separately, but some older sendMotionEvent callers were not updated to provide the correct raw event. This should also help prevent a race condition NPE in TouchExplorer#sendHoverExitAndTouchExplorationGestureEndIfNeeded: That method was using the last received *regular* event instead of the raw event, and this regular event was already cleared from a previous call to clear() so EventDispatcher#sendMotionEvent was unable to access the event's attributes. (See linked bug) Bug: 385812366 Test: atest TouchExplorerTest Test: atest FrameworksServicesTests:com.android.server.accessibility Test: Use TalkBack touch exploration, observe no behavior changes Flag: com.android.server.accessibility.event_dispatcher_raw_event Change-Id: Ie60f8174de3b12da01987f9bad59669f45bbdfdf