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

Commit 623670c2 authored by vadimt's avatar vadimt
Browse files

Checking success of injectInputEvent

Bug: 156287114
Change-Id: Id000b39a187c909475dd6dd409d14430b3654517
parent d5315f8c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1144,7 +1144,8 @@ public final class LauncherInstrumentation {
        }

        final MotionEvent event = getMotionEvent(downTime, currentTime, action, point.x, point.y);
        mInstrumentation.getUiAutomation().injectInputEvent(event, true);
        assertTrue("injectInputEvent failed",
                mInstrumentation.getUiAutomation().injectInputEvent(event, true));
        event.recycle();
    }