dumpstate: stop dumping pretouch status.

Somehow FW will be unstable after dumping status.
Temporarily remove this to find out the root cause
with vendor.

Bug: 193467774
Test: lshal debug android.hardware.dumpstate@1.0::IDumpstateDevice/default pre-touch
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I670558f30f9d809a8f9df41e4844ee451c7f3f17
This commit is contained in:
Super Liu 2021-11-18 08:57:32 +08:00
parent 41c75ffb57
commit 7dc7b5ff1d

View file

@ -516,6 +516,7 @@ void DumpstateDevice::dumpPreTouchSection(int fd) {
if (!access(cmd, R_OK))
DumpFileToFd(fd, "FW version", cmd);
#if 0 /* b/193467774: remove this temporarily */
snprintf(cmd, sizeof(cmd), "/proc/nvt_diff");
if (!access(cmd, R_OK))
DumpFileToFd(fd, "Diff", cmd);
@ -523,6 +524,7 @@ void DumpstateDevice::dumpPreTouchSection(int fd) {
snprintf(cmd, sizeof(cmd), "%s/nvt_fw_history", nvt_spi_path);
if (!access(nvt_spi_path, R_OK))
DumpFileToFd(fd, "FW History", cmd);
#endif
snprintf(cmd, sizeof(cmd),
"echo %s > %s/%s",