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-27 07:48:45 +0200
commitda44cf18f3ce4bbffa85ad0a50bb25e9cb54a86d (patch)
tree6afe76ad7ab69dd255f176b5a1a53d40793fad7e /install.cpp
parentMerge "Duplicate the last_install content into last_log." (diff)
downloadandroid_bootable_recovery-da44cf18f3ce4bbffa85ad0a50bb25e9cb54a86d.tar
android_bootable_recovery-da44cf18f3ce4bbffa85ad0a50bb25e9cb54a86d.tar.gz
android_bootable_recovery-da44cf18f3ce4bbffa85ad0a50bb25e9cb54a86d.tar.bz2
android_bootable_recovery-da44cf18f3ce4bbffa85ad0a50bb25e9cb54a86d.tar.lz
android_bootable_recovery-da44cf18f3ce4bbffa85ad0a50bb25e9cb54a86d.tar.xz
android_bootable_recovery-da44cf18f3ce4bbffa85ad0a50bb25e9cb54a86d.tar.zst
android_bootable_recovery-da44cf18f3ce4bbffa85ad0a50bb25e9cb54a86d.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));