summaryrefslogtreecommitdiffstats
path: root/install.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2016-09-27 23:25:26 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-09-27 23:25:26 +0200
commitb0d0ee3c7db0dcbfc822935540c90cfd01cbf270 (patch)
tree63ae2ccb19df6da8bd0062dc81655569c1897be3 /install.cpp
parentresolve merge conflicts of 64b92df to nyc-mr1-dev-plus-aosp (diff)
parentMerge "Report uncrypt errors in details" am: af8b9363c6 (diff)
downloadandroid_bootable_recovery-b0d0ee3c7db0dcbfc822935540c90cfd01cbf270.tar
android_bootable_recovery-b0d0ee3c7db0dcbfc822935540c90cfd01cbf270.tar.gz
android_bootable_recovery-b0d0ee3c7db0dcbfc822935540c90cfd01cbf270.tar.bz2
android_bootable_recovery-b0d0ee3c7db0dcbfc822935540c90cfd01cbf270.tar.lz
android_bootable_recovery-b0d0ee3c7db0dcbfc822935540c90cfd01cbf270.tar.xz
android_bootable_recovery-b0d0ee3c7db0dcbfc822935540c90cfd01cbf270.tar.zst
android_bootable_recovery-b0d0ee3c7db0dcbfc822935540c90cfd01cbf270.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 9a83c4884..63ee299a2 100644
--- a/install.cpp
+++ b/install.cpp
@@ -536,7 +536,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));