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

Commit 0a33576f authored by Yifan Hong's avatar Yifan Hong Committed by Automerger Merge Worker
Browse files

Merge "lshal: Do not use lastError API." am: 8e8d529f

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

Change-Id: I3e0f61ed58039d5383614e7b3933e3a5e6af1a18
parents d778b905 8e8d529f
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -508,10 +508,10 @@ TEST_F(ListTest, DumpVintf) {
    EXPECT_THAT(output, HasSubstr("a.h.foo6@6.0::IFoo/6"));
    EXPECT_EQ("", err.str());

    std::string error;
    vintf::HalManifest m;
    EXPECT_EQ(true, vintf::gHalManifestConverter(&m, out.str()))
        << "--init-vintf does not emit valid HAL manifest: "
        << vintf::gHalManifestConverter.lastError();
    EXPECT_EQ(true, vintf::gHalManifestConverter(&m, out.str(), &error))
        << "--init-vintf does not emit valid HAL manifest: " << error;
}

// test default columns