summaryrefslogtreecommitdiff
path: root/dumpstate
diff options
context:
space:
mode:
Diffstat (limited to 'dumpstate')
-rw-r--r--dumpstate/service.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dumpstate/service.cpp b/dumpstate/service.cpp
index 39d886c..9b4e0fb 100644
--- a/dumpstate/service.cpp
+++ b/dumpstate/service.cpp
@@ -29,7 +29,7 @@ int main() {
const std::string instance = std::string() + Dumpstate::descriptor + "/default";
binder_status_t status =
- AServiceManager_registerLazyService(dumpstate->asBinder().get(), instance.c_str());
+ AServiceManager_addService(dumpstate->asBinder().get(), instance.c_str());
CHECK_EQ(status, STATUS_OK);
ABinderProcess_joinThreadPool();