Enable provider client token test

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

The client token needed to be enabled in the license request.

Bug: 123369846
Bug: 123370099
Test: WV unit/integration tests
Change-Id: I4d3e944b1d79010977c119291594878c406b00c5
This commit is contained in:
Rahul Frias
2019-02-01 00:06:21 -08:00
parent 1cc4f71975
commit f83e813ea8
4 changed files with 11 additions and 4 deletions

View File

@@ -157,6 +157,8 @@ CdmResponseType ClientIdentification::Prepare(
ClientIdentification_ClientCapabilities* client_capabilities =
client_id->mutable_client_capabilities();
client_capabilities->set_client_token(true);
if (is_license_request_) {
bool supports_usage_information;
if (crypto_session_->UsageInformationSupport(&supports_usage_information)) {