summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbigbiff bigbiff <bigbiff@teamw.in>2018-09-20 01:13:19 +0200
committerbigbiff bigbiff <bigbiff@teamw.in>2018-09-20 01:15:06 +0200
commit9ee4a8577ee2b619905a73f457c354c67d8b8817 (patch)
treee3b44abe9ad16876a0f613db281da5e084773a05
parentFix header file for property_get (diff)
downloadandroid_bootable_recovery-9ee4a8577ee2b619905a73f457c354c67d8b8817.tar
android_bootable_recovery-9ee4a8577ee2b619905a73f457c354c67d8b8817.tar.gz
android_bootable_recovery-9ee4a8577ee2b619905a73f457c354c67d8b8817.tar.bz2
android_bootable_recovery-9ee4a8577ee2b619905a73f457c354c67d8b8817.tar.lz
android_bootable_recovery-9ee4a8577ee2b619905a73f457c354c67d8b8817.tar.xz
android_bootable_recovery-9ee4a8577ee2b619905a73f457c354c67d8b8817.tar.zst
android_bootable_recovery-9ee4a8577ee2b619905a73f457c354c67d8b8817.zip
Diffstat (limited to '')
-rw-r--r--data.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/data.cpp b/data.cpp
index 4dfbde2d0..4594dbf32 100644
--- a/data.cpp
+++ b/data.cpp
@@ -757,10 +757,10 @@ void DataManager::SetDefaultValues()
mPersist.SetValue("tw_military_time", "0");
#ifdef TW_INCLUDE_CRYPTO
- mConst.SetValue(TW_USE_SHA2, "1");
- mConst.SetValue(TW_NO_SHA2, "0");
+ mPersist.SetValue(TW_USE_SHA2, "1");
+ mPersist.SetValue(TW_NO_SHA2, "0");
#else
- mConst.SetValue(TW_NO_SHA2, "1");
+ mPersist.SetValue(TW_NO_SHA2, "1");
#endif
#ifdef TW_NO_SCREEN_TIMEOUT