From 5670d462de2c7c552b0f1ac7275f3bcd4442f9a3 Mon Sep 17 00:00:00 2001 From: vadimt Date: Thu, 14 May 2020 14:24:31 -0700 Subject: [PATCH] Avoid truncation of input trace Bug: 156287114 Change-Id: Iac0f93d4e8082907210bd6312d1c046ff1f49dba --- .../android/launcher3/tapl/LauncherInstrumentation.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java index 14212be24e..b333100393 100644 --- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java @@ -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(); }