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

Commit 9064e517 authored by Robert Shih's avatar Robert Shih Committed by Automerger Merge Worker
Browse files

DrmHalTest: null check for skipped test am: 9049fc93 am: efe8d1a7 am: 9b707458

parents 2dd8c294 9b707458
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -263,6 +263,9 @@ std::vector<uint8_t> DrmHalTest::getVendorUUID() {
}
}


bool DrmHalTest::isCryptoSchemeSupported(Uuid uuid, SecurityLevel level, std::string mime) {
bool DrmHalTest::isCryptoSchemeSupported(Uuid uuid, SecurityLevel level, std::string mime) {
    if (drmFactory == nullptr) {
        return false;
    }
    CryptoSchemes schemes{};
    CryptoSchemes schemes{};
    auto ret = drmFactory->getSupportedCryptoSchemes(&schemes);
    auto ret = drmFactory->getSupportedCryptoSchemes(&schemes);
    EXPECT_OK(ret);
    EXPECT_OK(ret);