summaryrefslogtreecommitdiffstats
path: root/partition.cpp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2015-10-27 03:51:58 +0100
committerDees Troy <dees_troy@teamw.in>2015-11-05 20:07:21 +0100
commit1673e3d4ea240fa49e0771c19848bcbde6f85faf (patch)
treea2c23f5f1930d6d87842ac2154438054fb066e5e /partition.cpp
parenttwrp: fb2png: do not pack relocations for executables (diff)
downloadandroid_bootable_recovery-1673e3d4ea240fa49e0771c19848bcbde6f85faf.tar
android_bootable_recovery-1673e3d4ea240fa49e0771c19848bcbde6f85faf.tar.gz
android_bootable_recovery-1673e3d4ea240fa49e0771c19848bcbde6f85faf.tar.bz2
android_bootable_recovery-1673e3d4ea240fa49e0771c19848bcbde6f85faf.tar.lz
android_bootable_recovery-1673e3d4ea240fa49e0771c19848bcbde6f85faf.tar.xz
android_bootable_recovery-1673e3d4ea240fa49e0771c19848bcbde6f85faf.tar.zst
android_bootable_recovery-1673e3d4ea240fa49e0771c19848bcbde6f85faf.zip
Diffstat (limited to 'partition.cpp')
-rw-r--r--partition.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/partition.cpp b/partition.cpp
index 3f7b26ccd..e110ba71a 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -354,6 +354,11 @@ bool TWPartition::Process_Fstab_Line(string Line, bool Display_Error) {
Backup_Display_Name = Display_Name;
DataManager::SetValue("tw_boot_is_mountable", 1);
Can_Be_Backed_Up = true;
+ } else if (Mount_Point == "/vendor") {
+ Display_Name = "Vendor";
+ Backup_Display_Name = Display_Name;
+ Storage_Name = Display_Name;
+ Mount_Read_Only = true;
}
#ifdef TW_EXTERNAL_STORAGE_PATH
if (Mount_Point == EXPAND(TW_EXTERNAL_STORAGE_PATH)) {
@@ -399,6 +404,11 @@ bool TWPartition::Process_Fstab_Line(string Line, bool Display_Error) {
Backup_Display_Name = Display_Name;
Can_Flash_Img = false;
Can_Be_Backed_Up = true;
+ } else if (Mount_Point == "/vendor_image") {
+ Display_Name = "Vendor Image";
+ Backup_Display_Name = Display_Name;
+ Can_Flash_Img = false;
+ Can_Be_Backed_Up = true;
}
}