Downgrade benign error logs in device_files.cpp to warnings
[ Merge of http://go/wvgerrit/152650 ] There are two LOGEs in device_files.cpp that would frequently trigger during testing despite the condition they were logging being totally normal. The files were not present because the device had never had to write them yet. This patch downgrades these bengin errors to warnings to reduce log spam. Test: build_and_run_all_unit_tests.sh Bug: 236317198 Change-Id: I56f9d477f8a6b26635f0eb4a6b7c636e866381d3
This commit is contained in:
@@ -1686,7 +1686,7 @@ bool DeviceFiles::RetrieveUsageTableInfo(
|
||||
|
||||
video_widevine_client::sdk::File file;
|
||||
if (RetrieveHashedFile(GetUsageTableFileName(), &file) != kNoError) {
|
||||
LOGE("Unable to retrieve usage table file");
|
||||
LOGW("Unable to retrieve usage table file");
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1830,7 +1830,7 @@ bool DeviceFiles::RetrieveOkpInfo(okp::SystemFallbackInfo* info) {
|
||||
// File meta-data validation.
|
||||
video_widevine_client::sdk::File file;
|
||||
if (RetrieveHashedFile(GetOkpInfoFileName(), &file) != kNoError) {
|
||||
LOGE("Unable to retrieve OKP info file");
|
||||
LOGW("Unable to retrieve OKP info file");
|
||||
return false;
|
||||
}
|
||||
if (file.type() != video_widevine_client::sdk::File::OKP_INFO) {
|
||||
|
||||
Reference in New Issue
Block a user