partitionmanager: Don't force super volumes to read-only

Note: This won't make super volumes default to read-write. It depends on fstab flags.

Change-Id: I7b08e090e45d1ff58f571f5b4ea55dd24ac9249d
(cherry picked from commit 47075559a7c878fa150abe7a48159d20e475f148)
This commit is contained in:
me-cafebabe
2022-07-26 01:06:36 +08:00
committed by bigbiff
parent a021ac28c7
commit bd2268aa01
-1
View File
@@ -3416,7 +3416,6 @@ bool TWPartitionManager::Prepare_Super_Volume(TWPartition* twrpPart) {
twrpPart->Set_Block_Device(fstabEntry.blk_device);
twrpPart->Update_Size(true);
twrpPart->Change_Mount_Read_Only(true);
twrpPart->Set_Can_Be_Backed_Up(false);
twrpPart->Set_Can_Be_Wiped(false);
LOGINFO("Symlinking %s => /dev/block/bootdevice/by-name/%s \n", fstabEntry.blk_device.c_str(), bare_partition_name.c_str());