Merge "Fix the prefix matching for uncrypt status."
diff --git a/install.cpp b/install.cpp
index 427bea1..72c922d 100644
--- a/install.cpp
+++ b/install.cpp
@@ -377,8 +377,8 @@
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_:")) {
- PLOG(WARNING) << "corrupted uncrypt_status: " << uncrypt_status;
+ } else if (!android::base::StartsWith(uncrypt_status, "uncrypt_")) {
+ LOG(WARNING) << "corrupted uncrypt_status: " << uncrypt_status;
} else {
log_buffer.push_back(android::base::Trim(uncrypt_status));
}