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

Commit 21d87dde authored by Steven Moreland's avatar Steven Moreland
Browse files

Remove misleading comment in sample dumpstate impl

HIDL_FETCH_IDumpstateDevice isn't defined simply
because this is a binderized service and this function
would be called (to no great use) if it was installed
to a device.

Bug: N/A
Test: N/A
Change-Id: I9b660af3fe329977cdcd0c3f485af651c34416cb
parent fdcdeb2a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -35,8 +35,7 @@ namespace implementation {
// Methods from ::android::hardware::dumpstate::V1_0::IDumpstateDevice follow.
Return<void> DumpstateDevice::dumpstateBoard(const hidl_handle& handle) {
    // NOTE: this is just an example on how to use the DumpstateUtil.h functions to implement
    // this interface - since HIDL_FETCH_IDumpstateDevice() is not defined, this function will never
    // be called by dumpstate.
    // this interface.

    // Exit when dump is completed since this is a lazy HAL.
    addPostCommandTask([]() {