Merge "Report uncrypt errors in details" am: af8b9363c6 am: 7582609d61
am: fc887a8fba
Change-Id: I5e83be10f4443c8b107821975b3506381fcbdf0c
This commit is contained in:
@@ -536,7 +536,7 @@ install_package(const char* path, bool* wipe_cache, const char* install_file,
|
||||
std::string uncrypt_status;
|
||||
if (!android::base::ReadFileToString(UNCRYPT_STATUS, &uncrypt_status)) {
|
||||
PLOG(WARNING) << "failed to read uncrypt status";
|
||||
} else if (!android::base::StartsWith(uncrypt_status, "uncrypt_time:")) {
|
||||
} else if (!android::base::StartsWith(uncrypt_status, "uncrypt_:")) {
|
||||
PLOG(WARNING) << "corrupted uncrypt_status: " << uncrypt_status;
|
||||
} else {
|
||||
log_buffer.push_back(android::base::Trim(uncrypt_status));
|
||||
|
||||
Reference in New Issue
Block a user