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:
parent
cbc81c7f5b
commit
e8c9a801ab
1 changed files with 4 additions and 0 deletions
|
@ -575,6 +575,10 @@ void Dumpstate::dumpTouchSection(int fd) {
|
||||||
snprintf(cmd, sizeof(cmd), "%s/selftest/Short", focaltech_cmd_path);
|
snprintf(cmd, sizeof(cmd), "%s/selftest/Short", focaltech_cmd_path);
|
||||||
DumpFileToFd(fd, "Get Short Test", cmd);
|
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
|
// Disable: force touch active
|
||||||
snprintf(cmd, sizeof(cmd), "echo 20 > %s/force_active", focaltech_cmd_path);
|
snprintf(cmd, sizeof(cmd), "echo 20 > %s/force_active", focaltech_cmd_path);
|
||||||
RunCommandToFd(fd, "Disable Force Touch Active", {"/vendor/bin/sh", "-c", cmd});
|
RunCommandToFd(fd, "Disable Force Touch Active", {"/vendor/bin/sh", "-c", cmd});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue