summaryrefslogtreecommitdiffstats
path: root/install.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2016-09-27 23:22:26 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-09-27 23:22:26 +0200
commitfc887a8fbad8c2c557fa4af136e190011dcac1fe (patch)
tree2eb376b0b6033ad76366f3ef055832f785751427 /install.cpp
parentMerge "Duplicate the last_install content into last_log." am: 95afc912fb (diff)
parentMerge "Report uncrypt errors in details" (diff)
downloadandroid_bootable_recovery-fc887a8fbad8c2c557fa4af136e190011dcac1fe.tar
android_bootable_recovery-fc887a8fbad8c2c557fa4af136e190011dcac1fe.tar.gz
android_bootable_recovery-fc887a8fbad8c2c557fa4af136e190011dcac1fe.tar.bz2
android_bootable_recovery-fc887a8fbad8c2c557fa4af136e190011dcac1fe.tar.lz
android_bootable_recovery-fc887a8fbad8c2c557fa4af136e190011dcac1fe.tar.xz
android_bootable_recovery-fc887a8fbad8c2c557fa4af136e190011dcac1fe.tar.zst
android_bootable_recovery-fc887a8fbad8c2c557fa4af136e190011dcac1fe.zip
Diffstat (limited to 'install.cpp')
-rw-r--r--install.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.cpp b/install.cpp
index 01b839ff0..427bea1a7 100644
--- a/install.cpp
+++ b/install.cpp
@@ -377,7 +377,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));