mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-01-27 19:18:35 +00:00
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:
@@ -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});
|
||||
|
||||
Reference in New Issue
Block a user