Merge changes from topic "presubmit-am-0dc44efdc89c4009b75e40a2ea6e9bc4" into tm-mainline-prod
* changes:
[automerge] Instrumentation: Wait for finish when injecting pointer events 2p: 8e03ce9a9d
Instrumentation: Wait for finish when injecting pointer events
This commit is contained in:
committed by
Android (Google) Code Review
commit
7c1dccf103
@@ -1181,7 +1181,7 @@ public class Instrumentation {
|
||||
|
||||
// Direct the injected event into windows owned by the instrumentation target.
|
||||
InputManager.getInstance().injectInputEvent(
|
||||
event, InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_RESULT, Process.myUid());
|
||||
event, InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH, Process.myUid());
|
||||
|
||||
if (syncAfter) {
|
||||
WindowManagerGlobal.getWindowManagerService()
|
||||
|
||||
Reference in New Issue
Block a user