partition: Set default values for system_ext partition

Change-Id: Iae69e2887926fc808f6e4b1110a7f562b99119f2
(cherry picked from commit 701e9abe26353f143287897942e367f8245c6f54)
This commit is contained in:
me-cafebabe
2022-07-29 06:34:45 +08:00
committed by bigbiff
parent 948f396cc5
commit a021ac28c7
+6
View File
@@ -472,6 +472,12 @@ bool TWPartition::Process_Fstab_Line(const char *fstab_line, bool Display_Error,
Can_Be_Wiped = false;
Mount_Read_Only = true;
Make_Dir(PartitionManager.Get_Android_Root_Path(), true);
} else if (Mount_Point == "/system_ext") {
Display_Name = "System_EXT";
Backup_Name = "System_EXT";
Backup_Display_Name = Display_Name;
Storage_Name = Display_Name;
Can_Be_Backed_Up = Wipe_Available_in_GUI = Is_Super ? false : true;
} else if (Mount_Point == "/product") {
Display_Name = "Product";
Backup_Name = "Product";