dumpstate: Fix P10 touch can't work after bugreport. am: 101c17fc95

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17753065

Change-Id: Ie04b77197518c2a37f7763efce42527373d454fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Mason Wang 2022-04-14 11:35:03 +00:00 committed by Automerger Merge Worker
commit 5ebcf15700

View file

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