diff options
author | bigbiff bigbiff <bigbiff@teamw.in> | 2013-01-25 15:54:04 +0100 |
---|---|---|
committer | Dees_Troy <dees_troy@teamw.in> | 2013-01-25 16:59:19 +0100 |
commit | 7ce7f0cde40bf127196cfac4bedce79ac5c59d77 (patch) | |
tree | a8c57436b198d104803625910d174f237c470400 /data.cpp | |
parent | Use GUI for ORS instead of console only (diff) | |
download | android_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 'data.cpp')
-rw-r--r-- | data.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |