Dumpstate: Filter not used dumps of touch node. [DO NOT MERGE]

Bug: 226475119
Test: Dumps of outer panel is in bugreport.
Change-Id: I1e6e59e1709715306671df9536685d9b3a9e34d6
This commit is contained in:
Mason Wang 2022-11-30 09:59:44 +08:00 committed by TreeHugger Robot
parent a573337875
commit 758d4f22fe

View file

@ -619,7 +619,7 @@ void Dumpstate::dumpTouchSection(int fd) {
for (int i = 0; i < 4; i += 2) { // ftm5
snprintf(cmd, sizeof(cmd), "%s", stm_cmd_path[i]);
if (!access(cmd, R_OK))
if (access(cmd, R_OK))
continue;
snprintf(cmd, sizeof(cmd), "%s", stm_cmd_path[i + 1]);
if (!access(cmd, R_OK)) {