Revert "dumpstate: Fix P10 touch can't work after bugreport."

This reverts commit 101c17fc95.

Reason for revert: Please refer to b/228928861#comment21.

Change-Id: Ib85f87de4d8f220c30686c745ceb625a8055d649
This commit is contained in:
Mason Wang 2022-04-19 09:44:57 +08:00
parent cbc81c7f5b
commit e8c9a801ab

View file

@ -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});