Merge "dumpstate: lock active mode while reading touch data" into qt-qpr1-dev

This commit is contained in:
TreeHugger Robot
2020-03-11 01:33:57 +00:00
committed by Android (Google) Code Review

View File

@@ -271,7 +271,11 @@ static void DumpTouch(int fd) {
}
if (!access("/proc/fts/driver_test", R_OK)) {
RunCommandToFd(fd, "Mutual Raw Data",
RunCommandToFd(fd, "Lock Normal Active Mode",
{"/vendor/bin/sh", "-c",
"echo 16 A0 03 00 > /proc/fts/driver_test && "
"cat /proc/fts/driver_test"});
RunCommandToFd(fd, "Mutual Raw Data",
{"/vendor/bin/sh", "-c",
"echo 23 00 > /proc/fts/driver_test && "
"cat /proc/fts/driver_test"});