From d77d1fc7a199ab0200dfeba59422878ecbb7fc00 Mon Sep 17 00:00:00 2001 From: halibw Date: Sat, 17 Sep 2022 14:48:26 +0800 Subject: [PATCH] sdm660-common: lights: CHECK -> CHECK_EQ copy pasta Changes from upstream: https://android.googlesource.com/platform/hardware/interfaces/+/ffb03995e6a767016671d149762373c217331a32%5E%21/#F7 Change-Id: I093066e8deffdb6d97e3b0d46ab5d8ad099cd682 Signed-off-by: pix106 --- light/aidl/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/light/aidl/main.cpp b/light/aidl/main.cpp index 8509bfba..552c48ee 100644 --- a/light/aidl/main.cpp +++ b/light/aidl/main.cpp @@ -30,7 +30,7 @@ int main() { const std::string instance = std::string() + Lights::descriptor + "/default"; binder_status_t status = AServiceManager_addService(lights->asBinder().get(), instance.c_str()); - CHECK(status == STATUS_OK); + CHECK_EQ(status, STATUS_OK); ABinderProcess_joinThreadPool(); return EXIT_FAILURE; // should not reached