Avoid passing device ID when unused
[ Merge of http://go/wvgerrit/105743 ] Device ID is no longer reported directly in provisioning/license request or used by ClientIdentification. It does not need to be passed in during initialization. Bug: 168085721 Test: WV unit/integration tests Change-Id: I483eac963c3f40784e42e1a2b917fcc96aa76a05
This commit is contained in:
@@ -20,7 +20,6 @@ const std::string kKeyArchitectureName = "architecture_name";
|
||||
const std::string kKeyDeviceName = "device_name";
|
||||
const std::string kKeyProductName = "product_name";
|
||||
const std::string kKeyBuildInfo = "build_info";
|
||||
const std::string kKeyDeviceId = "device_id";
|
||||
const std::string kKeyWvCdmVersion = "widevine_cdm_version";
|
||||
const std::string kKeyOemCryptoSecurityPatchLevel =
|
||||
"oem_crypto_security_patch_level";
|
||||
@@ -50,7 +49,6 @@ CdmResponseType ClientIdentification::Init(CryptoSession* crypto_session) {
|
||||
}
|
||||
|
||||
CdmResponseType ClientIdentification::Init(const std::string& client_token,
|
||||
const std::string& device_id,
|
||||
CryptoSession* crypto_session) {
|
||||
if (crypto_session == nullptr) {
|
||||
LOGE("Crypto session not provided");
|
||||
@@ -63,7 +61,6 @@ CdmResponseType ClientIdentification::Init(const std::string& client_token,
|
||||
}
|
||||
|
||||
is_license_request_ = true;
|
||||
device_id_ = device_id;
|
||||
client_token_ = client_token;
|
||||
crypto_session_ = crypto_session;
|
||||
return NO_ERROR;
|
||||
|
||||
Reference in New Issue
Block a user