summaryrefslogtreecommitdiffstats
path: root/twrp.cpp
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2017-02-15 03:20:59 +0100
committerDees Troy <dees_troy@teamw.in>2017-02-23 19:42:48 +0100
commita8e6d8315573d10d12b26d3b78c5820e5244dfe8 (patch)
treee9237d41e569b30a97bd6387dc2538398f795a4b /twrp.cpp
parentOnly change USB mode to mtp when ready for MTP (diff)
downloadandroid_bootable_recovery-a8e6d8315573d10d12b26d3b78c5820e5244dfe8.tar
android_bootable_recovery-a8e6d8315573d10d12b26d3b78c5820e5244dfe8.tar.gz
android_bootable_recovery-a8e6d8315573d10d12b26d3b78c5820e5244dfe8.tar.bz2
android_bootable_recovery-a8e6d8315573d10d12b26d3b78c5820e5244dfe8.tar.lz
android_bootable_recovery-a8e6d8315573d10d12b26d3b78c5820e5244dfe8.tar.xz
android_bootable_recovery-a8e6d8315573d10d12b26d3b78c5820e5244dfe8.tar.zst
android_bootable_recovery-a8e6d8315573d10d12b26d3b78c5820e5244dfe8.zip
Diffstat (limited to 'twrp.cpp')
-rw-r--r--twrp.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/twrp.cpp b/twrp.cpp
index f0e572cb0..3d0a375a3 100644
--- a/twrp.cpp
+++ b/twrp.cpp
@@ -289,13 +289,6 @@ int main(int argc, char **argv) {
}
// Read the settings file
-#ifdef TW_HAS_MTP
- // We unmount partitions sometimes during early boot which may override
- // the default of MTP being enabled by auto toggling MTP off. This
- // will force it back to enabled then get overridden by the settings
- // file, assuming that an entry for tw_mtp_enabled is set.
- DataManager::SetValue("tw_mtp_enabled", 1);
-#endif
DataManager::ReadSettingsFile();
PageManager::LoadLanguage(DataManager::GetStrValue("tw_language"));
GUIConsole::Translate_Now();