Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a993c2bf authored by Vadim Tryshev's avatar Vadim Tryshev Committed by Android (Google) Code Review
Browse files

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

parents 1d7b2a06 1b902a31
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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));
        }
    };