summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2018-07-20 14:04:26 -0700
committerSteven Moreland <smoreland@google.com>2018-07-20 21:06:53 +0000
commit21d87dde45dc96346ab8b31b3429e181014ac835 (patch)
treef3831497dccbc71615c6881950d625abaeffd168
parentfdcdeb2a3ad9dba826bfba9525982515082c6647 (diff)
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
-rw-r--r--dumpstate/1.0/default/DumpstateDevice.cpp3
1 files changed, 1 insertions, 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<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([]() {