diff options
| author | 2023-12-19 15:57:54 +0000 | |
|---|---|---|
| committer | 2023-12-19 15:57:54 +0000 | |
| commit | 1b5c9f37c688556f56a38620decd79060a1dd99c (patch) | |
| tree | 9597edd910d1b037dd2954ac1c9d090e5155c7db | |
| parent | 55a2964681119f6594aa8036c3c7db25a2a6a86b (diff) | |
| parent | 38e716c4608e8c92ce632de39cb5dfeecff369e2 (diff) | |
Merge "Don't always set alternateBouncerUIAvailable to true" into main
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/DeviceEntrySideFpsOverlayInteractor.kt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/DeviceEntrySideFpsOverlayInteractor.kt b/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/DeviceEntrySideFpsOverlayInteractor.kt index de15fd6a958f..c98f63717938 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/DeviceEntrySideFpsOverlayInteractor.kt +++ b/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/DeviceEntrySideFpsOverlayInteractor.kt @@ -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,7 +49,9 @@ constructor( ) { init { - alternateBouncerInteractor.setAlternateBouncerUIAvailable(true, TAG) + if (!DeviceEntryUdfpsRefactor.isEnabled) { + alternateBouncerInteractor.setAlternateBouncerUIAvailable(true, TAG) + } } private val showIndicatorForPrimaryBouncer: Flow<Boolean> = |