vab: correct default properties when vab is enabled

- do not show vab options in advanced
- do not perform merges when vab is disabled

Change-Id: I20997eca515600cb07fe896305b861ee9418c326
This commit is contained in:
bigbiff
2021-10-11 10:17:48 -04:00
parent 692a9e14d8
commit ab76bd7324
7 changed files with 16 additions and 5 deletions
+1 -1
View File
@@ -346,7 +346,7 @@ int TWinstall_zip(const char* path, int* wipe_cache, bool check_for_digest) {
PartitionManager.UnMount_By_Path("/vendor", false);
if (!system_mount_state)
PartitionManager.UnMount_By_Path(PartitionManager.Get_Android_Root_Path(), false);
if (android::base::GetBoolProperty("ro.virtual_ab.enabled", true)) {
if (android::base::GetBoolProperty("ro.virtual_ab.enabled", false)) {
PartitionManager.Prepare_All_Super_Volumes();
gui_warn("mount_vab_partitions=Devices on super may not mount until rebooting recovery.");
}