Merge "Printing TouchInteractionService state on test failures" into ub-launcher3-qt-dev

am: a993c2bf52

Change-Id: I25ce87b73007663b2cd288012811f4833cf51f26
This commit is contained in:
Vadim Tryshev
2019-05-29 18:47:22 -07:00
committed by android-build-merger
@@ -192,6 +192,14 @@ public abstract class AbstractLauncherUiTest {
", track trace is below, UI object dump is further below:\n" +
Log.getStackTraceString(e));
dumpViewHierarchy();
try {
final String dumpsysResult = mDevice.executeShellCommand(
"dumpsys activity service TouchInteractionService");
Log.d(TAG, "TouchInteractionService: " + dumpsysResult);
} catch (IOException ex) {
}
mDevice.takeScreenshot(new File(pathname));
}
};