dumpstate: force touch active by using bugreport specific flag am: 11e1288f86 am: 94d45a15b7 am: 91c9294f7f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15344530 Change-Id: I8fed6e5a4c1c67bf373b3c4c5d390fe0cd6d4161
This commit is contained in:
commit
c548ca11f1
1 changed files with 2 additions and 2 deletions
|
@ -611,7 +611,7 @@ void DumpstateDevice::dumpTouchSection(int fd) {
|
||||||
// Enable: force touch active
|
// Enable: force touch active
|
||||||
snprintf(cmd, sizeof(cmd),
|
snprintf(cmd, sizeof(cmd),
|
||||||
"echo %s > %s/cmd && cat %s/cmd_result",
|
"echo %s > %s/cmd && cat %s/cmd_result",
|
||||||
"force_touch_active,1",
|
"force_touch_active,2,1",
|
||||||
lsi_spi_path, lsi_spi_path);
|
lsi_spi_path, lsi_spi_path);
|
||||||
RunCommandToFd(fd, "Force Touch Active", {"/vendor/bin/sh", "-c", cmd});
|
RunCommandToFd(fd, "Force Touch Active", {"/vendor/bin/sh", "-c", cmd});
|
||||||
|
|
||||||
|
@ -696,7 +696,7 @@ void DumpstateDevice::dumpTouchSection(int fd) {
|
||||||
// Disable: force touch active
|
// Disable: force touch active
|
||||||
snprintf(cmd, sizeof(cmd),
|
snprintf(cmd, sizeof(cmd),
|
||||||
"echo %s > %s/cmd && cat %s/cmd_result",
|
"echo %s > %s/cmd && cat %s/cmd_result",
|
||||||
"force_touch_active,0",
|
"force_touch_active,2,0",
|
||||||
lsi_spi_path, lsi_spi_path);
|
lsi_spi_path, lsi_spi_path);
|
||||||
RunCommandToFd(fd, "Force Touch Active", {"/vendor/bin/sh", "-c", cmd});
|
RunCommandToFd(fd, "Force Touch Active", {"/vendor/bin/sh", "-c", cmd});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue