diff options
author | Dees_Troy <dees_troy@teamw.in> | 2013-04-08 15:19:20 +0200 |
---|---|---|
committer | Dees_Troy <dees_troy@teamw.in> | 2013-04-08 15:19:20 +0200 |
commit | 70737fabde0f99bd735b0a001693d2b4dcfcae93 (patch) | |
tree | 8fb2f46672073dfddf382e707b8a100112fcbd63 | |
parent | Fix handling of AOSP recovery commands (diff) | |
download | android_bootable_recovery-70737fabde0f99bd735b0a001693d2b4dcfcae93.tar android_bootable_recovery-70737fabde0f99bd735b0a001693d2b4dcfcae93.tar.gz android_bootable_recovery-70737fabde0f99bd735b0a001693d2b4dcfcae93.tar.bz2 android_bootable_recovery-70737fabde0f99bd735b0a001693d2b4dcfcae93.tar.lz android_bootable_recovery-70737fabde0f99bd735b0a001693d2b4dcfcae93.tar.xz android_bootable_recovery-70737fabde0f99bd735b0a001693d2b4dcfcae93.tar.zst android_bootable_recovery-70737fabde0f99bd735b0a001693d2b4dcfcae93.zip |
-rw-r--r-- | partition.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/partition.cpp b/partition.cpp index 7eb2ae5fb..e88ccc8a0 100644 --- a/partition.cpp +++ b/partition.cpp @@ -124,6 +124,9 @@ bool TWPartition::Process_Fstab_Line(string Line, bool Display_Error) { LOGINFO("Processing '%s'\n", Mount_Point.c_str()); Backup_Path = Mount_Point; Storage_Path = Mount_Point; + Display_Name = full_line + 1; + Backup_Display_Name = Display_Name; + Storage_Name = Display_Name; index = Mount_Point.size(); while (index < line_len) { while (index < line_len && full_line[index] == '\0') @@ -305,9 +308,8 @@ bool TWPartition::Process_Fstab_Line(string Line, bool Display_Error) { Removable = true; Wipe_Available_in_GUI = true; #else - if (Mount_Point == "/sdcard") { + if (Mount_Point == "/sdcard" || Mount_Point == "/external_sd" || Mount_Point == "/external_sdcard") { Is_Storage = true; - Storage_Path = "/sdcard"; Removable = true; Wipe_Available_in_GUI = true; #ifndef RECOVERY_SDCARD_ON_DATA @@ -328,7 +330,7 @@ bool TWPartition::Process_Fstab_Line(string Line, bool Display_Error) { #endif } #else - if (Mount_Point == "/emmc") { + if (Mount_Point == "/emmc" || Mount_Point == "/internal_sd" || Mount_Point == "/internal_sdcard") { Is_Storage = true; Is_Settings_Storage = true; Storage_Path = "/emmc"; |