summaryrefslogtreecommitdiffstats
path: root/partitionmanager.cpp
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2017-02-16 17:38:52 +0100
committerMatt Mower <mowerm@gmail.com>2017-02-24 03:10:17 +0100
commit653a1709350a9d66415fcef27d8f157b66a891f5 (patch)
treebcf82a3a1f26b4cd00fc1ac78930c2dbc98cd523 /partitionmanager.cpp
parentFix handling of USB config during MTP switching (diff)
downloadandroid_bootable_recovery-653a1709350a9d66415fcef27d8f157b66a891f5.tar
android_bootable_recovery-653a1709350a9d66415fcef27d8f157b66a891f5.tar.gz
android_bootable_recovery-653a1709350a9d66415fcef27d8f157b66a891f5.tar.bz2
android_bootable_recovery-653a1709350a9d66415fcef27d8f157b66a891f5.tar.lz
android_bootable_recovery-653a1709350a9d66415fcef27d8f157b66a891f5.tar.xz
android_bootable_recovery-653a1709350a9d66415fcef27d8f157b66a891f5.tar.zst
android_bootable_recovery-653a1709350a9d66415fcef27d8f157b66a891f5.zip
Diffstat (limited to 'partitionmanager.cpp')
-rw-r--r--partitionmanager.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index ea8693f52..908730e57 100644
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -2081,8 +2081,6 @@ bool TWPartitionManager::Enable_MTP(void) {
gui_err("mtp_already_enabled=MTP already enabled");
return true;
}
- //Launch MTP Responder
- LOGINFO("Starting MTP\n");
int mtppipe[2];
@@ -2105,7 +2103,7 @@ bool TWPartitionManager::Enable_MTP(void) {
TWFunc::write_file("/sys/class/android_usb/android0/idProduct", productstr);
property_set("sys.usb.config", "mtp,adb");
}
- /* To enable MTP debug, use the twrp command line feature to
+ /* To enable MTP debug, use the twrp command line feature:
* twrp set tw_mtp_debug 1
*/
twrpMtp *mtp = new twrpMtp(DataManager::GetIntValue("tw_mtp_debug"));