Merge "Logging UPs and DOWNs that TAPL injects" into sc-dev am: b32c61a6cc am: 9c1ab6654c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14948505 Change-Id: I4e08b4e76d413099993293188522f7d0bdd44fc7
This commit is contained in:
@@ -1248,6 +1248,13 @@ public final class LauncherInstrumentation {
|
||||
}
|
||||
|
||||
final MotionEvent event = getMotionEvent(downTime, currentTime, action, point.x, point.y);
|
||||
// b/190748682
|
||||
switch (action) {
|
||||
case MotionEvent.ACTION_DOWN:
|
||||
case MotionEvent.ACTION_UP:
|
||||
log("b/190748682: injecting " + event);
|
||||
break;
|
||||
}
|
||||
assertTrue("injectInputEvent failed",
|
||||
mInstrumentation.getUiAutomation().injectInputEvent(event, true, false));
|
||||
event.recycle();
|
||||
|
||||
Reference in New Issue
Block a user