Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba1226f0 authored by Prabir Pradhan's avatar Prabir Pradhan Committed by Automerger Merge Worker
Browse files

Merge "Instrumentation: Wait for finish when injecting pointer events" into...

Merge "Instrumentation: Wait for finish when injecting pointer events" into tm-dev am: 4b2317aa am: 9d1bc10e

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17654828



Change-Id: Ieb425fcb25ee55a2364b7dd2daf1034bcf4885d8
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 121f7535 9d1bc10e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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()