summaryrefslogtreecommitdiffstats
path: root/install.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2016-09-25 00:31:34 +0200
committerTianjie Xu <xunchang@google.com>2016-09-29 20:06:04 +0200
commit37d7d67ca216972cba9259aa5866220d6abfaf14 (patch)
tree535d8abf400b2fba9502fe05051376b94cd5807b /install.cpp
parentDO NOT MERGE Duplicate the last_install content into last_log. (diff)
downloadandroid_bootable_recovery-37d7d67ca216972cba9259aa5866220d6abfaf14.tar
android_bootable_recovery-37d7d67ca216972cba9259aa5866220d6abfaf14.tar.gz
android_bootable_recovery-37d7d67ca216972cba9259aa5866220d6abfaf14.tar.bz2
android_bootable_recovery-37d7d67ca216972cba9259aa5866220d6abfaf14.tar.lz
android_bootable_recovery-37d7d67ca216972cba9259aa5866220d6abfaf14.tar.xz
android_bootable_recovery-37d7d67ca216972cba9259aa5866220d6abfaf14.tar.zst
android_bootable_recovery-37d7d67ca216972cba9259aa5866220d6abfaf14.zip
Diffstat (limited to '')
-rw-r--r--install.cpp2
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));