summaryrefslogtreecommitdiffstats
path: root/partitionmanager.cpp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2014-02-03 22:27:52 +0100
committerEthan Yonker <dees_troy@teamw.in>2014-02-03 22:27:52 +0100
commitd4d107388c531c4b3bb7a57ec7771b233d9055c2 (patch)
tree805bb5f38e4db37a08a4f06ae12ca815d27d53b5 /partitionmanager.cpp
parentRefactor twrpTar to use TarList (diff)
downloadandroid_bootable_recovery-d4d107388c531c4b3bb7a57ec7771b233d9055c2.tar
android_bootable_recovery-d4d107388c531c4b3bb7a57ec7771b233d9055c2.tar.gz
android_bootable_recovery-d4d107388c531c4b3bb7a57ec7771b233d9055c2.tar.bz2
android_bootable_recovery-d4d107388c531c4b3bb7a57ec7771b233d9055c2.tar.lz
android_bootable_recovery-d4d107388c531c4b3bb7a57ec7771b233d9055c2.tar.xz
android_bootable_recovery-d4d107388c531c4b3bb7a57ec7771b233d9055c2.tar.zst
android_bootable_recovery-d4d107388c531c4b3bb7a57ec7771b233d9055c2.zip
Diffstat (limited to '')
-rw-r--r--partitionmanager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index 091ae3288..04dbee967 100644
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -96,6 +96,9 @@ int TWPartitionManager::Process_Fstab(string Fstab_Filename, bool Display_Error)
for (iter = Partitions.begin(); iter != Partitions.end(); iter++) {
if ((*iter)->Is_Storage) {
(*iter)->Is_Settings_Storage = true;
+#ifndef RECOVERY_SDCARD_ON_DATA
+ (*iter)->Setup_AndSec();
+#endif
Found_Settings_Storage = true;
DataManager::SetValue("tw_settings_path", (*iter)->Storage_Path);
DataManager::SetValue("tw_storage_path", (*iter)->Storage_Path);