summaryrefslogtreecommitdiffstats
path: root/install.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2016-09-27 23:11:06 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-09-27 23:11:06 +0200
commitaf8b9363c6a5efaa060ed18d30ac424306541e28 (patch)
tree6afe76ad7ab69dd255f176b5a1a53d40793fad7e /install.cpp
parentMerge "Duplicate the last_install content into last_log." (diff)
parentReport uncrypt errors in details (diff)
downloadandroid_bootable_recovery-af8b9363c6a5efaa060ed18d30ac424306541e28.tar
android_bootable_recovery-af8b9363c6a5efaa060ed18d30ac424306541e28.tar.gz
android_bootable_recovery-af8b9363c6a5efaa060ed18d30ac424306541e28.tar.bz2
android_bootable_recovery-af8b9363c6a5efaa060ed18d30ac424306541e28.tar.lz
android_bootable_recovery-af8b9363c6a5efaa060ed18d30ac424306541e28.tar.xz
android_bootable_recovery-af8b9363c6a5efaa060ed18d30ac424306541e28.tar.zst
android_bootable_recovery-af8b9363c6a5efaa060ed18d30ac424306541e28.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));