Snap for 4765094 from 5b169b1722 to pi-release
am: e8246d77cd
Change-Id: I438e3cc58664f564db8d8182ac1a18b65a984100
This commit is contained in:
committed by
android-build-merger
commit
90bd3ccc8d
@@ -72,6 +72,7 @@ CdmResponseType WvContentDecryptionModule::CloseSession(
|
||||
CdmEngine* cdm_engine = GetCdmForSessionId(session_id);
|
||||
// TODO(rfrias): Avoid reusing the error codes from CdmEngine.
|
||||
if (!cdm_engine) return SESSION_NOT_FOUND_1;
|
||||
AutoLock auto_lock(cdms_lock_);
|
||||
CdmResponseType sts = cdm_engine->CloseSession(session_id);
|
||||
cdm_engine->GetMetrics()->cdm_engine_close_session_.Increment(sts);
|
||||
if (sts == NO_ERROR) {
|
||||
|
||||
Reference in New Issue
Block a user