From e8c9a801ab15cfb7e723c03fc1610f83da7fcde1 Mon Sep 17 00:00:00 2001 From: Mason Wang Date: Tue, 19 Apr 2022 09:44:57 +0800 Subject: [PATCH] Revert "dumpstate: Fix P10 touch can't work after bugreport." This reverts commit 101c17fc9593df2dbfa814209b402039e5549fb2. Reason for revert: Please refer to b/228928861#comment21. Change-Id: Ib85f87de4d8f220c30686c745ceb625a8055d649 --- dumpstate/Dumpstate.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dumpstate/Dumpstate.cpp b/dumpstate/Dumpstate.cpp index 3556da56..2740484b 100644 --- a/dumpstate/Dumpstate.cpp +++ b/dumpstate/Dumpstate.cpp @@ -575,6 +575,10 @@ void Dumpstate::dumpTouchSection(int fd) { snprintf(cmd, sizeof(cmd), "%s/selftest/Short", focaltech_cmd_path); DumpFileToFd(fd, "Get Short Test", cmd); + // Get HeatMap(ms,ss) + snprintf(cmd, sizeof(cmd), "%s/selftest/Strength", focaltech_cmd_path); + DumpFileToFd(fd, "Get HeatMap(ms,ss)", cmd); + // Disable: force touch active snprintf(cmd, sizeof(cmd), "echo 20 > %s/force_active", focaltech_cmd_path); RunCommandToFd(fd, "Disable Force Touch Active", {"/vendor/bin/sh", "-c", cmd});