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
diff --git a/gui/theme/common/watch.xml b/gui/theme/common/watch.xml
index 526e9c0..1ad5cbd 100755
--- a/gui/theme/common/watch.xml
+++ b/gui/theme/common/watch.xml
@@ -4404,6 +4404,7 @@
</actions>
</listitem>
<listitem name="{@unmap_super_devices=Unmap Super Devices}">
+ <condition var1="tw_virtual_ab.enabled" op="=" var2="1"/>
<actions>
<action function="set">tw_back=advanced</action>
<action function="set">tw_action=unmapsuperdevices</action>
@@ -4415,6 +4416,7 @@
</actions>
</listitem>
<listitem name="{@merges_snapshots=Merge Snapshots}">
+ <condition var1="tw_virtual_ab.enabled" op="=" var2="1"/>
<actions>
<action function="set">tw_back=advanced</action>
<action function="set">tw_action=mergesnapshots</action>