From a021ac28c727b67da8d7b3e526b68b22cb33c53a Mon Sep 17 00:00:00 2001 From: me-cafebabe Date: Fri, 29 Jul 2022 06:34:45 +0800 Subject: [PATCH] partition: Set default values for system_ext partition Change-Id: Iae69e2887926fc808f6e4b1110a7f562b99119f2 (cherry picked from commit 701e9abe26353f143287897942e367f8245c6f54) --- partition.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/partition.cpp b/partition.cpp index f767db68..9832cfed 100755 --- a/partition.cpp +++ b/partition.cpp @@ -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";