summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2012-10-13 18:31:44 +0200
committerDees_Troy <dees_troy@teamw.in>2012-10-13 18:31:44 +0200
commit7a47e7f4d24e805646df3d2bf2ae379cb9118ae7 (patch)
treef48071a1a51e09d1288c719322795263bb8b3716
parentBump version to 2.3.0.3 (diff)
downloadandroid_bootable_recovery-7a47e7f4d24e805646df3d2bf2ae379cb9118ae7.tar
android_bootable_recovery-7a47e7f4d24e805646df3d2bf2ae379cb9118ae7.tar.gz
android_bootable_recovery-7a47e7f4d24e805646df3d2bf2ae379cb9118ae7.tar.bz2
android_bootable_recovery-7a47e7f4d24e805646df3d2bf2ae379cb9118ae7.tar.lz
android_bootable_recovery-7a47e7f4d24e805646df3d2bf2ae379cb9118ae7.tar.xz
android_bootable_recovery-7a47e7f4d24e805646df3d2bf2ae379cb9118ae7.tar.zst
android_bootable_recovery-7a47e7f4d24e805646df3d2bf2ae379cb9118ae7.zip
-rw-r--r--partition.cpp41
1 files changed, 0 insertions, 41 deletions
diff --git a/partition.cpp b/partition.cpp
index bc8e24052..505e310c5 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -272,47 +272,6 @@ bool TWPartition::Process_Fstab_Line(string Line, bool Display_Error) {
} else if (Is_Image(Fstab_File_System)) {
Find_Actual_Block_Device();
Setup_Image(Display_Error);
- if (Mount_Point == "/boot") {
- int backup_display_size = (int)(Backup_Size / 1048576LLU);
- DataManager::SetValue(TW_BACKUP_BOOT_SIZE, backup_display_size);
- if (Backup_Size == 0) {
- DataManager::SetValue(TW_HAS_BOOT_PARTITION, 0);
- DataManager::SetValue(TW_BACKUP_BOOT_VAR, 0);
- } else
- DataManager::SetValue(TW_HAS_BOOT_PARTITION, 1);
- } else if (Mount_Point == "/recovery") {
- int backup_display_size = (int)(Backup_Size / 1048576LLU);
- DataManager::SetValue(TW_BACKUP_RECOVERY_SIZE, backup_display_size);
- if (Backup_Size == 0) {
- DataManager::SetValue(TW_HAS_RECOVERY_PARTITION, 0);
- DataManager::SetValue(TW_BACKUP_RECOVERY_VAR, 0);
- } else
- DataManager::SetValue(TW_HAS_RECOVERY_PARTITION, 1);
- }
-#ifdef SP1_NAME
- string SP1_Path = "/";
- SP1_Path += EXPAND(SP1_NAME);
- if (Mount_Point == SP1_Path) {
- int backup_display_size = (int)(Backup_Size / 1048576LLU);
- DataManager::SetValue(TW_BACKUP_SP1_SIZE, backup_display_size);
- }
-#endif
-#ifdef SP2_NAME
- string SP2_Path = "/";
- SP2_Path += EXPAND(SP2_NAME);
- if (Mount_Point == SP2_Path) {
- int backup_display_size = (int)(Backup_Size / 1048576LLU);
- DataManager::SetValue(TW_BACKUP_SP2_SIZE, backup_display_size);
- }
-#endif
-#ifdef SP3_NAME
- string SP3_Path = "/";
- SP3_Path += EXPAND(SP3_NAME);
- if (Mount_Point == SP3_Path) {
- int backup_display_size = (int)(Backup_Size / 1048576LLU);
- DataManager::SetValue(TW_BACKUP_SP3_SIZE, backup_display_size);
- }
-#endif
}
// Process any custom flags