Loading
Change Instrumentation to call injectInputAfterTransactionApplied
Instrumentation.sendPointerSync currently calls direclty into InputManager to inject input. Instead have it call injectInputAfterTransactionApplied to ensure it waits for animations to complete and input windows to get set. Additionally, changed injectInputAfterTransactionApplied to call InputManagerInternal instead of InputManager to prevent the calling pid from changing. This ensures the permission check remains tied to the client that injected the input. Bug: 123616343 Bug: 120920331 Test: atest HoverTest Change-Id: I8c893e47fea9bd38e92da0ffa668ebca066f1080