commit | 066eb30abf78bd2d52a23f3068936a6b67cd03d8 | [log] [tgz] |
---|---|---|
author | Dees_Troy <dees_troy@teamw.in> | Fri Aug 23 17:20:32 2013 +0000 |
committer | Dees_Troy <dees_troy@teamw.in> | Fri Aug 23 17:22:37 2013 +0000 |
tree | bc1b4fc46d692afd03a2a68f291663786d6a6776 | |
parent | 94e2a4640264a89752dcaa4efa551ec5c7604bfc [diff] [blame] |
Fix AOSP decrypt when TouchWiz code is present
diff --git a/partition.cpp b/partition.cpp index 7cf0ab3..f81748d 100644 --- a/partition.cpp +++ b/partition.cpp
@@ -902,7 +902,9 @@ 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