Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 248c6c28 authored by Steven Moreland's avatar Steven Moreland Committed by Automerger Merge Worker
Browse files

Merge "libbinder_ndk_unit_test: fix after light install" into main am: 9a7f6c17 am: 0e361267

parents e35dba52 0e361267
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -435,7 +435,7 @@ TEST(NdkBinder, GetLazyService) {

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 @@ TEST(NdkBinder, GetUpdatableViaApex) {
            [](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