Merge "libbinder_ndk_unit_test: fix after light install" into main am: 9a7f6c1740 am: 0e3612674f

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2755747

Change-Id: Iff7257d0cb33146e8e27dbc1b494ffdf22da10fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/libs/binder/ndk/tests/libbinder_ndk_unit_test.cpp b/libs/binder/ndk/tests/libbinder_ndk_unit_test.cpp
index 25b8e97..47439b8 100644
--- a/libs/binder/ndk/tests/libbinder_ndk_unit_test.cpp
+++ b/libs/binder/ndk/tests/libbinder_ndk_unit_test.cpp
@@ -435,7 +435,7 @@
 
 TEST(NdkBinder, IsUpdatable) {
     bool isUpdatable = AServiceManager_isUpdatableViaApex("android.hardware.light.ILights/default");
-    EXPECT_EQ(isUpdatable, false);
+    EXPECT_EQ(isUpdatable, true);
 }
 
 TEST(NdkBinder, GetUpdatableViaApex) {
@@ -445,7 +445,7 @@
             [](const char* apexName, void* context) {
                 *static_cast<std::optional<std::string>*>(context) = apexName;
             });
-    EXPECT_EQ(updatableViaApex, std::nullopt) << *updatableViaApex;
+    EXPECT_NE(updatableViaApex, std::nullopt) << *updatableViaApex;
 }
 
 // This is too slow