Fix the consistency of the event stream during interrupted and continued touch exploration.
aosp/2677516 fixed the event stream when we initiate a new touch exploration which avoids a crash, but this change along with the accompanying test insures that the event stream is sane in the moment rather than waiting for the next ACTION_DOWN to fix it.
Bug:286037469
Bug: 290719741
Test: atest TouchExplorerTest
Test: atest TouchInteractionControllerTest
Test: atest TouchInteractionControllerTest#testInterruptedSwipe_generatesConsistentEventStream --rerun-until-failure 100
Change-Id: I909e150ae7652842ada5f329f25222e9093a3e6d
1 file changed