summaryrefslogtreecommitdiffstats
path: root/partition.cpp
diff options
context:
space:
mode:
authorVojtech Bocek <vbocek@gmail.com>2015-03-05 23:21:49 +0100
committerEthan Yonker <dees_troy@teamw.in>2015-03-13 18:12:58 +0100
commit7e11ac5d3c345f0f1227a070a1c10eee885bcfce (patch)
tree499c77e9b8e549bc941837b081552da4c4ab2303 /partition.cpp
parentAllow touch to use a key code to sync touch events (diff)
downloadandroid_bootable_recovery-7e11ac5d3c345f0f1227a070a1c10eee885bcfce.tar
android_bootable_recovery-7e11ac5d3c345f0f1227a070a1c10eee885bcfce.tar.gz
android_bootable_recovery-7e11ac5d3c345f0f1227a070a1c10eee885bcfce.tar.bz2
android_bootable_recovery-7e11ac5d3c345f0f1227a070a1c10eee885bcfce.tar.lz
android_bootable_recovery-7e11ac5d3c345f0f1227a070a1c10eee885bcfce.tar.xz
android_bootable_recovery-7e11ac5d3c345f0f1227a070a1c10eee885bcfce.tar.zst
android_bootable_recovery-7e11ac5d3c345f0f1227a070a1c10eee885bcfce.zip
Diffstat (limited to 'partition.cpp')
-rw-r--r--partition.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/partition.cpp b/partition.cpp
index 6a7ad718d..87a605bce 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -290,6 +290,7 @@ bool TWPartition::Process_Fstab_Line(string Line, bool Display_Error) {
Current_File_System = "emmc";
Setup_Image(Display_Error);
DataManager::SetValue(TW_IS_ENCRYPTED, 1);
+ DataManager::SetValue(TW_CRYPTO_PWTYPE, cryptfs_get_password_type());
DataManager::SetValue(TW_CRYPTO_PASSWORD, "");
DataManager::SetValue("tw_crypto_display", "");
} else {