Starting investigation for non-delivered TIS events

Bug: 156287114
Change-Id: Icae88318a8e5a8f6b9931913b24ad3ece5475cc3
This commit is contained in:
vadimt
2020-05-13 12:57:32 -07:00
parent 9a1becebec
commit 87db7187c6
2 changed files with 10 additions and 1 deletions

View File

@@ -436,6 +436,13 @@ public final class LauncherInstrumentation {
sEventChecker.finishNoWait();
}
}
// b/156287114
try {
log("Input: " + mDevice.executeShellCommand("dumpsys input"));
} catch (IOException e) {
e.printStackTrace();
}
log("Hierarchy dump for: " + message);
dumpViewHierarchy();

View File

@@ -207,7 +207,9 @@ public class LogEventChecker {
// Workaround for b/154157191
private static boolean ignoreMistatch(boolean successfulGesture, String sequence) {
return TestProtocol.SEQUENCE_TIS.equals(sequence) && successfulGesture;
// b/156287114
return false;
// return TestProtocol.SEQUENCE_TIS.equals(sequence) && successfulGesture;
}
// If the list of actual events matches the list of expected events, returns -1, otherwise