Fix AOSP decrypt when TouchWiz code is present

This commit is contained in:
Dees_Troy
2013-08-23 17:20:32 +00:00
parent 94e2a46402
commit 066eb30abf
4 changed files with 15 additions and 8 deletions
+3 -1
View File
@@ -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