Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c81cd3c1 authored by Steven Moreland's avatar Steven Moreland
Browse files

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
parent 5ff7719f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1136,7 +1136,7 @@ static void DumpHals() {
                }
                RunCommandToFd(fd,
                        "",
                        {"lshal", "debug", interface},
                        {"lshal", "debug", "-E", interface},
                        CommandOptions::WithTimeout(2).AsRootIfAvailable().Build());

                bool empty = 0 == lseek(fd, 0, SEEK_END);