Remove dupe events while 2-fingers scrolling
Move events may contain a history of other move events. When we split the event, each of the resulting events has history. When the system dispatches the events, it also dispatches the ones in the history. We change these events with actions which are NOT ACTION_MOVE and inject to input. But those histories are no longer consistent with what happened and are causing InputDispatcher::injectInputEvent to enqueue duplicated events of each historical pointer coord. Bug: 74069091 Test: manual Test: atest CtsAccessibilityTestCases Test: atest CtsAccessibilityServiceTestCases Change-Id: I2a9f5526cbeecfcc379f86624607190e16265405
Loading
Please register or sign in to comment