Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38e716c4 authored by Beverly's avatar Beverly
Browse files

Don't always set alternateBouncerUIAvailable to true

When the DeviceEntryUdfpsRefactor is enabled. Instead, this is
handled in the AlternateBouncerInteractor.

Test: device builds, boots and shows keyguard with the
device entry udfps refactor flag enabled
Flag: ACONFIG com.android.systemui.device_entry_udfps_refactor DEVELOPMENT
Bug: 287599719

Change-Id: I32cb6da78472b394bf7f33dd04a74d140621d514
parent 2996824c
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ import com.android.systemui.bouncer.domain.interactor.AlternateBouncerInteractor
import com.android.systemui.bouncer.domain.interactor.PrimaryBouncerInteractor
import com.android.systemui.dagger.SysUISingleton
import com.android.systemui.dagger.qualifiers.Application
import com.android.systemui.deviceentry.shared.DeviceEntryUdfpsRefactor
import com.android.systemui.keyguard.data.repository.DeviceEntryFingerprintAuthRepository
import com.android.systemui.res.R
import javax.inject.Inject
@@ -48,8 +49,10 @@ constructor(
) {

    init {
        if (!DeviceEntryUdfpsRefactor.isEnabled) {
            alternateBouncerInteractor.setAlternateBouncerUIAvailable(true, TAG)
        }
    }

    private val showIndicatorForPrimaryBouncer: Flow<Boolean> =
        merge(