diff options
Diffstat (limited to 'install.cpp')
-rw-r--r-- | install.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install.cpp b/install.cpp index d8372e276..d30890a9e 100644 --- a/install.cpp +++ b/install.cpp @@ -532,7 +532,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)) { LOGW("failed to read uncrypt status: %s\n", strerror(errno)); - } else if (!android::base::StartsWith(uncrypt_status, "uncrypt_time:")) { + } else if (!android::base::StartsWith(uncrypt_status, "uncrypt_")) { LOGW("corrupted uncrypt_status: %s: %s\n", uncrypt_status.c_str(), strerror(errno)); } else { log_buffer.push_back(android::base::Trim(uncrypt_status)); |