From 21d87dde45dc96346ab8b31b3429e181014ac835 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Fri, 20 Jul 2018 14:04:26 -0700 Subject: [PATCH] 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 --- dumpstate/1.0/default/DumpstateDevice.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dumpstate/1.0/default/DumpstateDevice.cpp b/dumpstate/1.0/default/DumpstateDevice.cpp index 88623afd7f..25d92b0acd 100644 --- a/dumpstate/1.0/default/DumpstateDevice.cpp +++ b/dumpstate/1.0/default/DumpstateDevice.cpp @@ -35,8 +35,7 @@ namespace implementation { // Methods from ::android::hardware::dumpstate::V1_0::IDumpstateDevice follow. Return 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([]() {