hidl WVDrmPlugin openSession: set securityLevel correctly am: 9a530b7f1e
Change-Id: I7dbc26be06ae0fdfa0013dd65a57c169b21f4bdc
This commit is contained in:
@@ -328,8 +328,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