Replace event notification from when openSession fails

Merge of https://widevine-internal-review.googlesource.com/#/c/7280/1
from the Widevine CDM repo.

bug: 10396953
Change-Id: I085b60e01292f37379d19d059b39ac7a7f299012
This commit is contained in:
Jeff Tinker
2013-08-19 17:27:44 -07:00
parent a2e15186e5
commit 2fa6b63292
2 changed files with 39 additions and 1 deletions

View File

@@ -59,7 +59,7 @@ status_t WVDrmPlugin::openSession(Vector<uint8_t>& sessionId) {
&cdmSessionId);
if (!isCdmResponseTypeSuccess(res)) {
return mapCdmResponseType(res);
return mapAndNotifyOfCdmResponseType(sessionId, res);
}
bool success = false;