diff options
author | bigbiff bigbiff <bigbiff@teamw.in> | 2016-08-19 23:43:45 +0200 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2017-06-17 14:05:45 +0200 |
commit | 56cf56465857e79e814b1e2d50f13e176170fcb3 (patch) | |
tree | 33b1ed63aa4e51f6e49fda5bd6ccb204e1e8fdab /data.cpp | |
parent | Merge "Fix minui issues for some build trees" into android-7.1 (diff) | |
download | android_bootable_recovery-56cf56465857e79e814b1e2d50f13e176170fcb3.tar android_bootable_recovery-56cf56465857e79e814b1e2d50f13e176170fcb3.tar.gz android_bootable_recovery-56cf56465857e79e814b1e2d50f13e176170fcb3.tar.bz2 android_bootable_recovery-56cf56465857e79e814b1e2d50f13e176170fcb3.tar.lz android_bootable_recovery-56cf56465857e79e814b1e2d50f13e176170fcb3.tar.xz android_bootable_recovery-56cf56465857e79e814b1e2d50f13e176170fcb3.tar.zst android_bootable_recovery-56cf56465857e79e814b1e2d50f13e176170fcb3.zip |
Diffstat (limited to '')
-rw-r--r-- | data.cpp | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -679,14 +679,14 @@ void DataManager::SetDefaultValues() mPersist.SetValue(TW_INSTALL_REBOOT_VAR, "0"); mPersist.SetValue(TW_SIGNED_ZIP_VERIFY_VAR, "0"); - mPersist.SetValue(TW_FORCE_MD5_CHECK_VAR, "0"); mPersist.SetValue(TW_DISABLE_FREE_SPACE_VAR, "0"); + mPersist.SetValue(TW_FORCE_DIGEST_CHECK_VAR, "0"); mPersist.SetValue(TW_USE_COMPRESSION_VAR, "0"); mPersist.SetValue(TW_TIME_ZONE_VAR, "CST6CDT,M3.2.0,M11.1.0"); mPersist.SetValue(TW_GUI_SORT_ORDER, "1"); mPersist.SetValue(TW_RM_RF_VAR, "0"); - mPersist.SetValue(TW_SKIP_MD5_CHECK_VAR, "0"); - mPersist.SetValue(TW_SKIP_MD5_GENERATE_VAR, "0"); + mPersist.SetValue(TW_SKIP_DIGEST_CHECK_VAR, "0"); + mPersist.SetValue(TW_SKIP_DIGEST_GENERATE_VAR, "0"); mPersist.SetValue(TW_SDEXT_SIZE, "0"); mPersist.SetValue(TW_SWAP_SIZE, "0"); mPersist.SetValue(TW_SDPART_FILE_SYSTEM, "ext3"); @@ -708,6 +708,14 @@ void DataManager::SetDefaultValues() mData.SetValue("tw_background_thread_running", "0"); mData.SetValue(TW_RESTORE_FILE_DATE, "0"); mPersist.SetValue("tw_military_time", "0"); + +#ifdef TW_INCLUDE_CRYPTO + mConst.SetValue(TW_USE_SHA2, "1"); + mConst.SetValue(TW_NO_SHA2, "0"); +#else + mConst.SetValue(TW_NO_SHA2, "1"); +#endif + #ifdef TW_NO_SCREEN_TIMEOUT mConst.SetValue("tw_screen_timeout_secs", "0"); mConst.SetValue("tw_no_screen_timeout", "1"); |