summaryrefslogtreecommitdiff
path: root/dumpstate
diff options
context:
space:
mode:
authorMason Wang <masonwang@google.com>2022-04-14 12:34:22 +0800
committerMason Wang <masonwang@google.com>2022-04-14 10:56:27 +0000
commit101c17fc9593df2dbfa814209b402039e5549fb2 (patch)
tree5967c434060e90f868cda5093546849cc1a86622 /dumpstate
parent005fcc17b5fbbb78622548d0c5014ba090d27f8c (diff)
downloadgs201-101c17fc9593df2dbfa814209b402039e5549fb2.tar.gz
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
Diffstat (limited to 'dumpstate')
-rw-r--r--dumpstate/DumpstateDevice.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp
index 1dc3636..095559d 100644
--- a/dumpstate/DumpstateDevice.cpp
+++ b/dumpstate/DumpstateDevice.cpp
@@ -577,10 +577,6 @@ void DumpstateDevice::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});