summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-07-17 05:04:13 +0200
committerTao Bao <tbao@google.com>2015-07-24 20:13:25 +0200
commit7cf50c60b5c955010a8b8d0c23264f03ab673deb (patch)
treee33ba32027becb515a5d9c1806c545c0bc84d0c2
parentMerge "updater: libapplypatch needs libbase now." (diff)
downloadandroid_bootable_recovery-7cf50c60b5c955010a8b8d0c23264f03ab673deb.tar
android_bootable_recovery-7cf50c60b5c955010a8b8d0c23264f03ab673deb.tar.gz
android_bootable_recovery-7cf50c60b5c955010a8b8d0c23264f03ab673deb.tar.bz2
android_bootable_recovery-7cf50c60b5c955010a8b8d0c23264f03ab673deb.tar.lz
android_bootable_recovery-7cf50c60b5c955010a8b8d0c23264f03ab673deb.tar.xz
android_bootable_recovery-7cf50c60b5c955010a8b8d0c23264f03ab673deb.tar.zst
android_bootable_recovery-7cf50c60b5c955010a8b8d0c23264f03ab673deb.zip
Diffstat (limited to '')
-rw-r--r--uncrypt/uncrypt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/uncrypt/uncrypt.cpp b/uncrypt/uncrypt.cpp
index 20a272949..8785b29af 100644
--- a/uncrypt/uncrypt.cpp
+++ b/uncrypt/uncrypt.cpp
@@ -146,7 +146,7 @@ static const char* find_block_device(const char* path, bool* encryptable, bool*
(path[len] == '/' || path[len] == 0)) {
*encrypted = false;
*encryptable = false;
- if (fs_mgr_is_encryptable(v)) {
+ if (fs_mgr_is_encryptable(v) || fs_mgr_is_file_encrypted(v)) {
*encryptable = true;
char buffer[PROPERTY_VALUE_MAX+1];
if (property_get("ro.crypto.state", buffer, "") &&