Sync wv_upload_tool.py from CDM udc-widevine-dev
wv_upload_tool.py is out of date. Copy the latest version from CDM udc-widevine-dev. Also cherry-pick changes from: https://widevine-internal-review.git.corp.google.com/c/cdm/+/208714 Bug: 372933063 Change-Id: I53643af88819031d3fb0d762a0c2c40a4828c594
This commit is contained in:
@@ -48,6 +48,7 @@ std::unique_ptr<File> FileSystem::Open(const std::string&, int) {
|
||||
return std::unique_ptr<File>(new FileImpl());
|
||||
}
|
||||
bool FileSystem::Exists(const std::string&) { return false; }
|
||||
bool FileSystem::Exists(const std::string&, int*) { return false; }
|
||||
bool FileSystem::Remove(const std::string&) { return false; }
|
||||
ssize_t FileSystem::FileSize(const std::string&) { return false; }
|
||||
bool FileSystem::List(const std::string&, std::vector<std::string>*) {
|
||||
@@ -141,7 +142,9 @@ OEMCryptoResult OEMCryptoInterface::GetOEMCryptoBuildInfo(
|
||||
result = BuildInformation(&build_info[0], &build_info_size);
|
||||
LOGI("BuildInformation second attempt result %d", result);
|
||||
}
|
||||
|
||||
if (result == OEMCrypto_SUCCESS) {
|
||||
build_info.resize(build_info_size);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user