summaryrefslogtreecommitdiff
path: root/dumpstate/1.0/default/DumpstateDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dumpstate/1.0/default/DumpstateDevice.cpp')
-rw-r--r--dumpstate/1.0/default/DumpstateDevice.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/dumpstate/1.0/default/DumpstateDevice.cpp b/dumpstate/1.0/default/DumpstateDevice.cpp
index 25d92b0acd..c57bf43dbf 100644
--- a/dumpstate/1.0/default/DumpstateDevice.cpp
+++ b/dumpstate/1.0/default/DumpstateDevice.cpp
@@ -37,11 +37,6 @@ 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.
- // Exit when dump is completed since this is a lazy HAL.
- addPostCommandTask([]() {
- exit(0);
- });
-
if (handle == nullptr || handle->numFds < 1) {
ALOGE("no FDs\n");
return Void();