Prevent race conditions between decrypt and close session

[ Merge of http://go/wvgerrit/47520 ]

Bug: 73781703
Test: WV unit/integration tests, GTS GtsMediaTestCases tests and AUPT tests.
Change-Id: I618ed8ca38855aecdb31e829a7f4041cbd505a02
This commit is contained in:
Rahul Frias
2018-04-13 01:12:16 -07:00
parent 5c71603e8c
commit 07bb4de042
6 changed files with 19 additions and 2 deletions

View File

@@ -599,6 +599,8 @@ void PrintTo(const enum CdmResponseType& value, ::std::ostream* os) {
break;
case SESSION_NOT_FOUND_18: *os << "SESSION_NOT_FOUND_18";
break;
case SESSION_CLOSED_1: *os << "SESSION_CLOSED_1";
break;
default:
*os << "Unknown CdmResponseType";
break;