summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Christopher Adduono <jc@adduono.com>2016-02-08 00:54:58 +0100
committerDees Troy <dees_troy@teamw.in>2016-02-15 21:47:41 +0100
commit09f380dbcdf8f94fb7242463d237d21f4a7ee25a (patch)
tree93d868c9c2d2084babba043672baf1c90f2be537
parentFix up logd make file rules (diff)
downloadandroid_bootable_recovery-09f380dbcdf8f94fb7242463d237d21f4a7ee25a.tar
android_bootable_recovery-09f380dbcdf8f94fb7242463d237d21f4a7ee25a.tar.gz
android_bootable_recovery-09f380dbcdf8f94fb7242463d237d21f4a7ee25a.tar.bz2
android_bootable_recovery-09f380dbcdf8f94fb7242463d237d21f4a7ee25a.tar.lz
android_bootable_recovery-09f380dbcdf8f94fb7242463d237d21f4a7ee25a.tar.xz
android_bootable_recovery-09f380dbcdf8f94fb7242463d237d21f4a7ee25a.tar.zst
android_bootable_recovery-09f380dbcdf8f94fb7242463d237d21f4a7ee25a.zip
-rw-r--r--data.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/data.cpp b/data.cpp
index 71e790383..48de223d2 100644
--- a/data.cpp
+++ b/data.cpp
@@ -799,10 +799,6 @@ void DataManager::SetDefaultValues()
mValues.insert(make_pair(TW_ACTION_BUSY, make_pair("0", 0)));
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
- SetValue(TW_HAS_USB_STORAGE, 1, 0);
mValues.insert(make_pair(TW_ZIP_INDEX, make_pair("0", 0)));
mValues.insert(make_pair(TW_ZIP_QUEUE_COUNT, make_pair("0", 0)));
mValues.insert(make_pair(TW_FILENAME, make_pair("/sdcard", 0)));