Remove inexplicable checks for enabling/disabled UMS support
Removing these lines allows UMS to be enabled for devices with storage lun. The checks don't seem to make sense as they are referencing always defined strings. Change-Id: I75df9b7db5a790807fc2b5c946b271b103326b39
This commit is contained in:
committed by
Dees Troy
parent
e5a288c96b
commit
09f380dbcd
@@ -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)));
|
||||
|
||||
Reference in New Issue
Block a user