sdm660-common: lights: CHECK -> CHECK_EQ copy pasta

Changes from upstream: ffb03995e6%5E%21/#F7

Change-Id: I093066e8deffdb6d97e3b0d46ab5d8ad099cd682
Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
halibw 2022-09-17 14:48:26 +08:00 committed by pix106
parent 4b2c2e70ac
commit d77d1fc7a1

View file

@ -30,7 +30,7 @@ int main() {
const std::string instance = std::string() + Lights::descriptor + "/default"; const std::string instance = std::string() + Lights::descriptor + "/default";
binder_status_t status = AServiceManager_addService(lights->asBinder().get(), instance.c_str()); binder_status_t status = AServiceManager_addService(lights->asBinder().get(), instance.c_str());
CHECK(status == STATUS_OK); CHECK_EQ(status, STATUS_OK);
ABinderProcess_joinThreadPool(); ABinderProcess_joinThreadPool();
return EXIT_FAILURE; // should not reached return EXIT_FAILURE; // should not reached