Improve query performance
[ Merge of http://go/wvgerrit/15780 ] Android mediaDrm allows callers to serially query status information through a property API. CDM however retrieves all status information in a map and filters out all but the relevent one. This leads to delays in Netflix app startup. Rewriting the CDM interface to return only the queried value. b/24181894 Change-Id: Ie9ed6288524e3a7e03b83aa55ef3531dd52a0dfb
This commit is contained in:
@@ -121,8 +121,9 @@ CdmResponseType WvContentDecryptionModule::RemoveKeys(
|
||||
|
||||
CdmResponseType WvContentDecryptionModule::QueryStatus(
|
||||
SecurityLevel security_level,
|
||||
CdmQueryMap* key_info) {
|
||||
return cdm_engine_->QueryStatus(security_level, key_info);
|
||||
const std::string& key,
|
||||
std::string* value) {
|
||||
return cdm_engine_->QueryStatus(security_level, key, value);
|
||||
}
|
||||
|
||||
CdmResponseType WvContentDecryptionModule::QuerySessionStatus(
|
||||
|
||||
Reference in New Issue
Block a user