Dumpstate: don't dump HAL super classes.
Previously, if 'a.h.f@1.2::IFoo' was registered, dumpstate
woudl dump it three times as 1.0, 1.1, 1.2.
Fixes: 72123369
Test: bugreport
Change-Id: I121cf5b6ca5d3fe65e3922b07883320975fe5e0c
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index 93f8d43..1a0e456 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -1136,7 +1136,7 @@
}
RunCommandToFd(fd,
"",
- {"lshal", "debug", interface},
+ {"lshal", "debug", "-E", interface},
CommandOptions::WithTimeout(2).AsRootIfAvailable().Build());
bool empty = 0 == lseek(fd, 0, SEEK_END);