dumpstate: check the correct bus force active command path am: 4c46bf699f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14031646 Change-Id: I9d75afbe0b4bf9bbf45ffb94eb204bfbd54b5143
This commit is contained in:
commit
c2cad5a155
1 changed files with 1 additions and 0 deletions
|
@ -502,6 +502,7 @@ void DumpstateDevice::dumpTouchSection(int fd) {
|
||||||
RunCommandToFd(fd, "ITO Raw", {"/vendor/bin/sh", "-c", cmd});
|
RunCommandToFd(fd, "ITO Raw", {"/vendor/bin/sh", "-c", cmd});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
snprintf(cmd, sizeof(cmd), "%s", stm_cmd_path[i + 1]);
|
||||||
if (!access(cmd, R_OK)) {
|
if (!access(cmd, R_OK)) {
|
||||||
snprintf(cmd, sizeof(cmd), "echo A0 00 > %s", stm_cmd_path[i + 1]);
|
snprintf(cmd, sizeof(cmd), "echo A0 00 > %s", stm_cmd_path[i + 1]);
|
||||||
RunCommandToFd(fd, "Restore Bus Owner",
|
RunCommandToFd(fd, "Restore Bus Owner",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue