summaryrefslogtreecommitdiffstats
path: root/install.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2016-09-29 20:13:20 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-09-29 20:13:20 +0200
commit4c53af080d5d3b83658ac494215db913159084b2 (patch)
treed9c18ca9a0388f469069116f027f74d9d6316261 /install.cpp
parentDO NOT MERGE Duplicate the last_install content into last_log. (diff)
parentDO NOT MERGE Report uncrypt errors in details (diff)
downloadandroid_bootable_recovery-4c53af080d5d3b83658ac494215db913159084b2.tar
android_bootable_recovery-4c53af080d5d3b83658ac494215db913159084b2.tar.gz
android_bootable_recovery-4c53af080d5d3b83658ac494215db913159084b2.tar.bz2
android_bootable_recovery-4c53af080d5d3b83658ac494215db913159084b2.tar.lz
android_bootable_recovery-4c53af080d5d3b83658ac494215db913159084b2.tar.xz
android_bootable_recovery-4c53af080d5d3b83658ac494215db913159084b2.tar.zst
android_bootable_recovery-4c53af080d5d3b83658ac494215db913159084b2.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 576e7741e..e144d9b29 100644
--- a/install.cpp
+++ b/install.cpp
@@ -540,7 +540,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));