summaryrefslogtreecommitdiffstats
path: root/partitionmanager.cpp
diff options
context:
space:
mode:
authorbigbiff <bigbiff@teamw.in>2014-11-27 02:36:07 +0100
committerDees Troy <dees_troy@teamw.in>2014-12-04 17:32:27 +0100
commit7cb4c3322b3a282e63e77b0d2205fd2e51b8b932 (patch)
tree7ff7761604c2f6d82b444a66205126f8d81856e5 /partitionmanager.cpp
parentReduce libs needed for decrypt and clean up old decypt files (diff)
downloadandroid_bootable_recovery-7cb4c3322b3a282e63e77b0d2205fd2e51b8b932.tar
android_bootable_recovery-7cb4c3322b3a282e63e77b0d2205fd2e51b8b932.tar.gz
android_bootable_recovery-7cb4c3322b3a282e63e77b0d2205fd2e51b8b932.tar.bz2
android_bootable_recovery-7cb4c3322b3a282e63e77b0d2205fd2e51b8b932.tar.lz
android_bootable_recovery-7cb4c3322b3a282e63e77b0d2205fd2e51b8b932.tar.xz
android_bootable_recovery-7cb4c3322b3a282e63e77b0d2205fd2e51b8b932.tar.zst
android_bootable_recovery-7cb4c3322b3a282e63e77b0d2205fd2e51b8b932.zip
Diffstat (limited to 'partitionmanager.cpp')
-rw-r--r--partitionmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index 93caf20ac..de4549342 100644
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -1914,7 +1914,7 @@ bool TWPartitionManager::Enable_MTP(void) {
if ((*iter)->Is_Storage && (*iter)->Is_Present && (*iter)->Mount(false)) {
++storageid;
printf("twrp addStorage %s, mtpstorageid: %u\n", (*iter)->Storage_Path.c_str(), storageid);
- mtp->addStorage((*iter)->Storage_Name, (*iter)->Storage_Path, storageid);
+ mtp->addStorage((*iter)->Storage_Name, (*iter)->Storage_Path, storageid, (*iter)->Get_Max_FileSize());
count++;
}
}