Do not register GS201 dumpstate HAL as a lazy HAL

Test: adb bugreport
      ./vts-tradefed run vts -m VtsHalDumpstateTargetTest
Bug: 231299630
Change-Id: I003b2560dc723570403440719b7b7cc259e75205
This commit is contained in:
Alex Hong 2022-05-28 00:40:32 +08:00 committed by TreeHugger Robot
parent 93f18e9c69
commit b9cd590fd1

View file

@ -29,7 +29,7 @@ int main() {
const std::string instance = std::string() + Dumpstate::descriptor + "/default"; const std::string instance = std::string() + Dumpstate::descriptor + "/default";
binder_status_t status = 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); CHECK_EQ(status, STATUS_OK);
ABinderProcess_joinThreadPool(); ABinderProcess_joinThreadPool();