hidl WVDrmPlugin openSession: set securityLevel correctly
Merge of http://go/wvgerrit/94827 Bug: 149035295 Bug: 150103154 Bug: 150407639 Test: VtsHalDrmV1_2TargetTest Change-Id: I3687b2305eb413112f7fbd0d5127d2168cdf376d
This commit is contained in:
@@ -324,8 +324,7 @@ Return<void> WVDrmPlugin::openSession_1_1(
|
||||
(SecurityLevel::SW_SECURE_CRYPTO == requestedLevel) ?
|
||||
wvcdm::QUERY_VALUE_SECURITY_LEVEL_L3 : wvcdm::QUERY_VALUE_SECURITY_LEVEL_DEFAULT;
|
||||
|
||||
setPropertyString(hidl_string(wvcdm::QUERY_KEY_SECURITY_LEVEL),
|
||||
hidl_string(wvcdm_security_level));
|
||||
setPropertyString("securityLevel", hidl_string(wvcdm_security_level));
|
||||
|
||||
status = openSessionCommon(sessionId);
|
||||
hidl_vec<uint8_t> hSessionId = toHidlVec(sessionId);
|
||||
|
||||
Reference in New Issue
Block a user