disable virtualAB check for noSecondSlot

This commit is contained in:
capntrips
2022-01-15 23:15:21 -06:00
committed by John Wu
parent f466c27da9
commit 053f4d481d
2 changed files with 1 additions and 2 deletions
@@ -28,7 +28,7 @@ class InstallViewModel(
val isRooted = Shell.rootAccess()
val hideVbmeta = Info.vbmeta || Info.isSamsung || Info.isAB
val skipOptions = Info.isEmulator || (Info.isSAR && !Info.isFDE && hideVbmeta && Info.ramdisk)
val noSecondSlot = !isRooted || Info.isVirtualAB || !Info.isAB || Info.isEmulator
val noSecondSlot = !isRooted || !Info.isAB || Info.isEmulator
@get:Bindable
var step = if (skipOptions) 1 else 0