summaryrefslogtreecommitdiffstats
path: root/partitionmanager.cpp
diff options
context:
space:
mode:
authorbigbiff <bigbiff@teamw.in>2014-12-12 00:48:08 +0100
committerbigbiff <bigbiff@teamw.in>2014-12-12 00:48:08 +0100
commitd5c60692871a080ae9f3726fde71e6b7733d0982 (patch)
tree72e85ce01aaf8152b552e1685ae99d60181688f7 /partitionmanager.cpp
parentmake header layout more readable for 1440x2560 (diff)
downloadandroid_bootable_recovery-d5c60692871a080ae9f3726fde71e6b7733d0982.tar
android_bootable_recovery-d5c60692871a080ae9f3726fde71e6b7733d0982.tar.gz
android_bootable_recovery-d5c60692871a080ae9f3726fde71e6b7733d0982.tar.bz2
android_bootable_recovery-d5c60692871a080ae9f3726fde71e6b7733d0982.tar.lz
android_bootable_recovery-d5c60692871a080ae9f3726fde71e6b7733d0982.tar.xz
android_bootable_recovery-d5c60692871a080ae9f3726fde71e6b7733d0982.tar.zst
android_bootable_recovery-d5c60692871a080ae9f3726fde71e6b7733d0982.zip
Diffstat (limited to '')
-rw-r--r--partitionmanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index 975d5576e..1ae145635 100644
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -1948,6 +1948,7 @@ bool TWPartitionManager::Disable_MTP(void) {
string productstr = product;
TWFunc::write_file("/sys/class/android_usb/android0/idVendor", vendorstr);
TWFunc::write_file("/sys/class/android_usb/android0/idProduct", productstr);
+ usleep(2000);
if (mtppid) {
LOGINFO("Disabling MTP\n");
int status;