summaryrefslogtreecommitdiffstats
path: root/partitionmanager.cpp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2014-12-29 16:44:05 +0100
committerDees Troy <dees_troy@teamw.in>2014-12-29 17:01:41 +0100
commitabb5c4ead09e0e08e1d006fc76e7627df45c0281 (patch)
treed6419f12d5926aa3c884b4fb629077a66f5342e9 /partitionmanager.cpp
parentgui: fix DEVICE_RESOLUTION warnings in Android.mk (diff)
downloadandroid_bootable_recovery-abb5c4ead09e0e08e1d006fc76e7627df45c0281.tar
android_bootable_recovery-abb5c4ead09e0e08e1d006fc76e7627df45c0281.tar.gz
android_bootable_recovery-abb5c4ead09e0e08e1d006fc76e7627df45c0281.tar.bz2
android_bootable_recovery-abb5c4ead09e0e08e1d006fc76e7627df45c0281.tar.lz
android_bootable_recovery-abb5c4ead09e0e08e1d006fc76e7627df45c0281.tar.xz
android_bootable_recovery-abb5c4ead09e0e08e1d006fc76e7627df45c0281.tar.zst
android_bootable_recovery-abb5c4ead09e0e08e1d006fc76e7627df45c0281.zip
Diffstat (limited to 'partitionmanager.cpp')
-rw-r--r--partitionmanager.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index be6674b88..ea61d57d7 100644
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -1922,7 +1922,6 @@ bool TWPartitionManager::Enable_MTP(void) {
TWFunc::write_file("/sys/class/android_usb/android0/idVendor", vendorstr);
TWFunc::write_file("/sys/class/android_usb/android0/idProduct", productstr);
property_set("sys.usb.config", "mtp,adb");
- usleep(2000); // Short sleep to prevent an occasional kernel panic on some devices
std::vector<TWPartition*>::iterator iter;
/* To enable MTP debug, use the twrp command line feature to
* twrp set tw_mtp_debug 1