diff options
author | Dees_Troy <dees_troy@teamw.in> | 2012-09-27 02:05:28 +0200 |
---|---|---|
committer | Dees_Troy <dees_troy@teamw.in> | 2012-09-27 02:05:28 +0200 |
commit | 2c50e18ca3a21d7531746fd4792c031422085661 (patch) | |
tree | ddbca21f480eea41d5da51594a6071e50b29e09d /partition.cpp | |
parent | Add option to wipe android secure (diff) | |
download | android_bootable_recovery-2c50e18ca3a21d7531746fd4792c031422085661.tar android_bootable_recovery-2c50e18ca3a21d7531746fd4792c031422085661.tar.gz android_bootable_recovery-2c50e18ca3a21d7531746fd4792c031422085661.tar.bz2 android_bootable_recovery-2c50e18ca3a21d7531746fd4792c031422085661.tar.lz android_bootable_recovery-2c50e18ca3a21d7531746fd4792c031422085661.tar.xz android_bootable_recovery-2c50e18ca3a21d7531746fd4792c031422085661.tar.zst android_bootable_recovery-2c50e18ca3a21d7531746fd4792c031422085661.zip |
Diffstat (limited to '')
-rw-r--r-- | partition.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/partition.cpp b/partition.cpp index 4c0baedcd..4d1c9c5ad 100644 --- a/partition.cpp +++ b/partition.cpp @@ -225,6 +225,9 @@ bool TWPartition::Process_Fstab_Line(string Line, bool Display_Error) { Display_Name = "SD-Ext"; Wipe_Available_in_GUI = true; Removable = true; + } else if (Mount_Point == "/boot") { + Display_Name = "Boot"; + DataManager::SetValue("tw_boot_is_mountable", 1); } #ifdef TW_EXTERNAL_STORAGE_PATH if (Mount_Point == EXPAND(TW_EXTERNAL_STORAGE_PATH)) { @@ -1099,8 +1102,13 @@ bool TWPartition::Backup_Tar(string backup_folder) { if (!Mount(true)) return false; - TWFunc::GUI_Operation_Text(TW_BACKUP_TEXT, Display_Name, "Backing Up"); - ui_print("Backing up %s...\n", Display_Name.c_str()); + if (Backup_Path == "/and-sec") { + TWFunc::GUI_Operation_Text(TW_BACKUP_TEXT, "Android Secure", "Backing Up"); + ui_print("Backing up %s...\n", "Android Secure"); + } else { + TWFunc::GUI_Operation_Text(TW_BACKUP_TEXT, Display_Name, "Backing Up"); + ui_print("Backing up %s...\n", Display_Name.c_str()); + } DataManager::GetValue(TW_USE_COMPRESSION_VAR, use_compression); if (use_compression) |