summaryrefslogtreecommitdiffstats
path: root/partition.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2013-08-24 14:42:03 +0200
committerGerrit Code Review <gerrit@198.50.184.117>2013-08-24 14:42:03 +0200
commit728630d9e445b47e50758c3daccc3b97b0307bd7 (patch)
tree722816ff9ba9b99d8b515433505f184c8cfbb706 /partition.cpp
parentMerge "graphics: update BOARD_HAS_FLIPPED_SCREEN function to work with 16bpp or 32bpp" into twrp2.5 (diff)
parentFix AOSP decrypt when TouchWiz code is present (diff)
downloadandroid_bootable_recovery-728630d9e445b47e50758c3daccc3b97b0307bd7.tar
android_bootable_recovery-728630d9e445b47e50758c3daccc3b97b0307bd7.tar.gz
android_bootable_recovery-728630d9e445b47e50758c3daccc3b97b0307bd7.tar.bz2
android_bootable_recovery-728630d9e445b47e50758c3daccc3b97b0307bd7.tar.lz
android_bootable_recovery-728630d9e445b47e50758c3daccc3b97b0307bd7.tar.xz
android_bootable_recovery-728630d9e445b47e50758c3daccc3b97b0307bd7.tar.zst
android_bootable_recovery-728630d9e445b47e50758c3daccc3b97b0307bd7.zip
Diffstat (limited to 'partition.cpp')
-rw-r--r--partition.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/partition.cpp b/partition.cpp
index 7cf0ab3fb..f81748d72 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -902,7 +902,9 @@ bool TWPartition::Mount(bool Display_Error) {
LOGINFO("Successfully mounted ecryptfs for '%s'\n", Mount_Point.c_str());
Is_Decrypted = true;
}
- } else {
+ } else if (Mount_Point == EXPAND(TW_EXTERNAL_STORAGE_PATH)) {
+ if (Is_Decrypted)
+ LOGINFO("Mounting external storage, '%s' is not encrypted\n", Mount_Point.c_str());
Is_Decrypted = false;
}
#endif