Report OEMCrypto Build Information in License Request

Merge from Widevine repo of http://go/wvgerrit/78623

This updates the license request client identification to include
OEMCrypto build information.

Bug: 129070445
Test: ExoPlayer on crosshatch with mod mock
Change-Id: I0dbce0cca4e9810e14f60561e4e434f1dbcadfb6
This commit is contained in:
Fred Gylys-Colwell
2019-05-09 13:24:04 -07:00
parent c71fb10b95
commit 5ee5d00514
3 changed files with 18 additions and 0 deletions

View File

@@ -1880,6 +1880,15 @@ bool CryptoSession::GetResourceRatingTier(SecurityLevel security_level,
return true;
}
bool CryptoSession::GetBuildInformation(std::string* info) {
LOGV("CryptoSession::GetBuildInformation");
if (!open_) {
LOGW("CryptoSession::GetBuildInformation: session not open");
return false;
}
return GetBuildInformation(requested_security_level_, info);
}
bool CryptoSession::GetBuildInformation(SecurityLevel security_level,
std::string* info) {
LOGV("GetBuildInformation");