Add dumpsys input where it was missing

Bug: 156287114
Change-Id: Ie0a71e8dc261abfde4eec3ce882786d77a870c32
This commit is contained in:
vadimt
2020-05-15 13:11:36 -07:00
parent 9de282c862
commit bb6f5f5242
@@ -1323,6 +1323,16 @@ public final class LauncherInstrumentation {
if (mCheckEventsForSuccessfulGestures) {
final String message = sEventChecker.verify(WAIT_TIME_MS, true);
if (message != null) {
try {
Log.e("b/156287114", "Input:");
for (String line : mDevice.executeShellCommand("dumpsys input").split(
"\\n")) {
Log.d("b/156287114", line);
}
} catch (IOException e) {
e.printStackTrace();
}
checkForAnomaly();
Assert.fail(formatSystemHealthMessage(
"http://go/tapl : successful gesture produced " + message));