Add exclusion criteria for "Fix Recovery Bootloop"
Should only be included on devices that use initramfs,
i.e. legacy SAR, recovery-in-boot
Change-Id: I2408fcd993e1e381f49b3d5ae860694b2fade4d2
diff --git a/gui/theme/common/portrait.xml b/gui/theme/common/portrait.xml
index d27aa53..9490a04 100755
--- a/gui/theme/common/portrait.xml
+++ b/gui/theme/common/portrait.xml
@@ -3734,6 +3734,7 @@
<conditions>
<condition var1="tw_has_boot_slots" var2="1"/>
<condition var1="tw_has_repack_tools" var2="1"/>
+ <condition var1="tw_uses_initramfs" var2="1"/>
</conditions>
<actions>
<action function="set">tw_back=advanced</action>