DrmHalTest: null check for skipped test
Bug: 253168737 Change-Id: I0dea0d2482d607eecff433ffb901eba02a39770f Test: VtsAidlHalDrmTargetTest
This commit is contained in:
parent
b7d44a2eef
commit
9049fc93a8
1 changed files with 3 additions and 0 deletions
|
@ -263,6 +263,9 @@ std::vector<uint8_t> DrmHalTest::getVendorUUID() {
|
|||
}
|
||||
|
||||
bool DrmHalTest::isCryptoSchemeSupported(Uuid uuid, SecurityLevel level, std::string mime) {
|
||||
if (drmFactory == nullptr) {
|
||||
return false;
|
||||
}
|
||||
CryptoSchemes schemes{};
|
||||
auto ret = drmFactory->getSupportedCryptoSchemes(&schemes);
|
||||
EXPECT_OK(ret);
|
||||
|
|
Loading…
Reference in a new issue