summaryrefslogtreecommitdiffstats
path: root/partitionmanager.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2012-09-20 15:55:17 +0200
committerDees_Troy <dees_troy@teamw.in>2012-09-20 16:40:20 +0200
commit812660fd1d49bec7129d4c32a8493038a48385d7 (patch)
treed6e00bfc5f286e2fca8c0db8ce2c93f083a044ec /partitionmanager.cpp
parentFix ext storage and zip paths (diff)
downloadandroid_bootable_recovery-812660fd1d49bec7129d4c32a8493038a48385d7.tar
android_bootable_recovery-812660fd1d49bec7129d4c32a8493038a48385d7.tar.gz
android_bootable_recovery-812660fd1d49bec7129d4c32a8493038a48385d7.tar.bz2
android_bootable_recovery-812660fd1d49bec7129d4c32a8493038a48385d7.tar.lz
android_bootable_recovery-812660fd1d49bec7129d4c32a8493038a48385d7.tar.xz
android_bootable_recovery-812660fd1d49bec7129d4c32a8493038a48385d7.tar.zst
android_bootable_recovery-812660fd1d49bec7129d4c32a8493038a48385d7.zip
Diffstat (limited to '')
-rw-r--r--partitionmanager.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index b2bbf8e8e..67ec84ec5 100644
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -1497,4 +1497,13 @@ int TWPartitionManager::usb_storage_disable(void) {
Mount_By_Path(DataManager::GetSettingsStoragePath(), true);
Mount_By_Path(DataManager::GetCurrentStoragePath(), true);
return true;
+}
+
+void TWPartitionManager::Mount_All_Storage(void) {
+ std::vector<TWPartition*>::iterator iter;
+
+ for (iter = Partitions.begin(); iter != Partitions.end(); iter++) {
+ if ((*iter)->Is_Storage)
+ (*iter)->Mount(false);
+ }
} \ No newline at end of file