summaryrefslogtreecommitdiffstats
path: root/data.cpp
diff options
context:
space:
mode:
authorbigbiff bigbiff <bigbiff@teamw.in>2013-01-25 15:54:04 +0100
committerDees_Troy <dees_troy@teamw.in>2013-01-25 16:59:19 +0100
commit7ce7f0cde40bf127196cfac4bedce79ac5c59d77 (patch)
treea8c57436b198d104803625910d174f237c470400 /data.cpp
parentUse GUI for ORS instead of console only (diff)
downloadandroid_bootable_recovery-7ce7f0cde40bf127196cfac4bedce79ac5c59d77.tar
android_bootable_recovery-7ce7f0cde40bf127196cfac4bedce79ac5c59d77.tar.gz
android_bootable_recovery-7ce7f0cde40bf127196cfac4bedce79ac5c59d77.tar.bz2
android_bootable_recovery-7ce7f0cde40bf127196cfac4bedce79ac5c59d77.tar.lz
android_bootable_recovery-7ce7f0cde40bf127196cfac4bedce79ac5c59d77.tar.xz
android_bootable_recovery-7ce7f0cde40bf127196cfac4bedce79ac5c59d77.tar.zst
android_bootable_recovery-7ce7f0cde40bf127196cfac4bedce79ac5c59d77.zip
Diffstat (limited to '')
-rw-r--r--data.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/data.cpp b/data.cpp
index f8b19dd58..7f87b67ee 100644
--- a/data.cpp
+++ b/data.cpp
@@ -758,7 +758,7 @@ void DataManager::SetDefaultValues()
mValues.insert(make_pair(TW_BACKUP_SP2_SIZE, make_pair("0", 0)));
mValues.insert(make_pair(TW_BACKUP_SP3_SIZE, make_pair("0", 0)));
mValues.insert(make_pair(TW_STORAGE_FREE_SIZE, make_pair("0", 0)));
-
+
mValues.insert(make_pair(TW_REBOOT_AFTER_FLASH_VAR, make_pair("0", 1)));
mValues.insert(make_pair(TW_SIGNED_ZIP_VERIFY_VAR, make_pair("0", 1)));
mValues.insert(make_pair(TW_FORCE_MD5_CHECK_VAR, make_pair("0", 1)));
@@ -785,6 +785,8 @@ void DataManager::SetDefaultValues()
mValues.insert(make_pair(TW_RESTORE_AVG_IMG_RATE, make_pair("15000000", 1)));
mValues.insert(make_pair(TW_RESTORE_AVG_FILE_RATE, make_pair("3000000", 1)));
mValues.insert(make_pair(TW_RESTORE_AVG_FILE_COMP_RATE, make_pair("2000000", 1)));
+ mValues.insert(make_pair("tw_wipe_cache", make_pair("0", 0)));
+ mValues.insert(make_pair("tw_wipe_dalvik", make_pair("0", 0)));
if (GetIntValue(TW_HAS_INTERNAL) == 1 && GetIntValue(TW_HAS_DATA_MEDIA) == 1 && GetIntValue(TW_HAS_EXTERNAL) == 0)
SetValue(TW_HAS_USB_STORAGE, 0, 0);
else