summaryrefslogtreecommitdiffstats
path: root/partitionmanager.cpp
diff options
context:
space:
mode:
authorbigbiff <bigbiff@teamw.in>2014-12-21 19:41:26 +0100
committerDees Troy <dees_troy@teamw.in>2014-12-22 04:52:56 +0100
commit0c53203efe377196e2bf22290fed000c7ee38870 (patch)
tree7db4bcf115bb48b79be14979331c8f8d78fb27e7 /partitionmanager.cpp
parentfixPermissions: simplify code, fix bugs (diff)
downloadandroid_bootable_recovery-0c53203efe377196e2bf22290fed000c7ee38870.tar
android_bootable_recovery-0c53203efe377196e2bf22290fed000c7ee38870.tar.gz
android_bootable_recovery-0c53203efe377196e2bf22290fed000c7ee38870.tar.bz2
android_bootable_recovery-0c53203efe377196e2bf22290fed000c7ee38870.tar.lz
android_bootable_recovery-0c53203efe377196e2bf22290fed000c7ee38870.tar.xz
android_bootable_recovery-0c53203efe377196e2bf22290fed000c7ee38870.tar.zst
android_bootable_recovery-0c53203efe377196e2bf22290fed000c7ee38870.zip
Diffstat (limited to '')
-rw-r--r--partitionmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index 72eb43dbf..003dcd1f3 100644
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -1930,7 +1930,7 @@ bool TWPartitionManager::Enable_MTP(void) {
twrpMtp *mtp = new twrpMtp(DataManager::GetIntValue("tw_mtp_debug"));
for (iter = Partitions.begin(); iter != Partitions.end(); iter++) {
if ((*iter)->Is_Storage && (*iter)->Is_Present && (*iter)->Mount(false)) {
- printf("twrp addStorage %s, mtpstorageid: %u\n", (*iter)->Storage_Path.c_str(), (*iter)->MTP_Storage_ID);
+ printf("twrp addStorage %s, mtpstorageid: %u, maxFileSize: %lld\n", (*iter)->Storage_Path.c_str(), (*iter)->MTP_Storage_ID, (*iter)->Get_Max_FileSize());
mtp->addStorage((*iter)->Storage_Name, (*iter)->Storage_Path, (*iter)->MTP_Storage_ID, (*iter)->Get_Max_FileSize());
count++;
}