Avoid truncation of input trace

Bug: 156287114
Change-Id: Iac0f93d4e8082907210bd6312d1c046ff1f49dba
This commit is contained in:
vadimt
2020-05-14 14:24:31 -07:00
parent 4cb77a60aa
commit 5670d462de
@@ -436,9 +436,12 @@ public final class LauncherInstrumentation {
sEventChecker.finishNoWait();
}
}
// b/156287114
try {
log("Input: " + mDevice.executeShellCommand("dumpsys input"));
Log.e("b/156287114", "Input:");
for (String line : mDevice.executeShellCommand("dumpsys input").split("\\n")) {
Log.d("b/156287114", line);
}
} catch (IOException e) {
e.printStackTrace();
}