summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbig biff <bigbiff@teamw.in>2018-11-30 00:32:22 +0100
committerGerrit Code Review <gerrit2@gerrit.omnirom.org>2018-11-30 00:32:22 +0100
commit16badcea76004351a308755da716c4464053e259 (patch)
treedce6b65641e47fdfae9360ca5e77d7757cf1ac7c
parentminui: Don't include errno.h twice (diff)
parentFix sha2 generation persistence. (diff)
downloadandroid_bootable_recovery-16badcea76004351a308755da716c4464053e259.tar
android_bootable_recovery-16badcea76004351a308755da716c4464053e259.tar.gz
android_bootable_recovery-16badcea76004351a308755da716c4464053e259.tar.bz2
android_bootable_recovery-16badcea76004351a308755da716c4464053e259.tar.lz
android_bootable_recovery-16badcea76004351a308755da716c4464053e259.tar.xz
android_bootable_recovery-16badcea76004351a308755da716c4464053e259.tar.zst
android_bootable_recovery-16badcea76004351a308755da716c4464053e259.zip
-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