summaryrefslogtreecommitdiff
path: root/dumpstate
diff options
context:
space:
mode:
authorAlex Hong <rurumihong@google.com>2022-05-28 00:40:32 +0800
committerTreeHugger Robot <treehugger-gerrit@google.com>2022-05-30 05:04:11 +0000
commitb9cd590fd192f7b89c15dc079bfa8b547833af83 (patch)
tree2417e5108a175ea75804a4eb2a8e63aefd9fc614 /dumpstate
parent93f18e9c694ee62cb4b607a8db4e6ddfe60f8f41 (diff)
downloadgs201-b9cd590fd192f7b89c15dc079bfa8b547833af83.tar.gz
Do not register GS201 dumpstate HAL as a lazy HAL
Test: adb bugreport ./vts-tradefed run vts -m VtsHalDumpstateTargetTest Bug: 231299630 Change-Id: I003b2560dc723570403440719b7b7cc259e75205
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();