dumpstate: Fix P10 touch can't work after bugreport.
Do not dump the touch heatmap data to fix touch abnormally after bugreport. This is the WA. I will revert it after kernel includes the solution commit pa/2194708. Bug: 228928861 Test: touch works well after triggering bugreport. Change-Id: I43a92efa78d8b77e1616c8bf63800d5a93b99456
This commit is contained in:
parent
005fcc17b5
commit
101c17fc95
1 changed files with 0 additions and 4 deletions
|
@ -577,10 +577,6 @@ void DumpstateDevice::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