add mtp responder to TWRP.
Big thanks to Dees_Troy for helping with the implementation. Change-Id: I6c9c522b9c9de5dc139e2ecb0141008182ba07f0
This commit is contained in:
@@ -996,6 +996,14 @@ void DataManager::SetDefaultValues()
|
||||
LOGINFO("TW_EXCLUDE_ENCRYPTED_BACKUPS := true\n");
|
||||
mValues.insert(make_pair("tw_include_encrypted_backup", make_pair("0", 0)));
|
||||
#endif
|
||||
#ifdef TW_HAS_MTP
|
||||
mConstValues.insert(make_pair("tw_has_mtp", "1"));
|
||||
mValues.insert(make_pair("tw_mtp_enabled", make_pair("1", 1)));
|
||||
#else
|
||||
LOGINFO("TW_EXCLUDE_MTP := true\n");
|
||||
mConstValues.insert(make_pair("tw_has_mtp", "0"));
|
||||
mConstValues.insert(make_pair("tw_mtp_enabled", "0"));
|
||||
#endif
|
||||
}
|
||||
|
||||
// Magic Values
|
||||
|
||||
Reference in New Issue
Block a user