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

Commit 0e5f6fac authored by Alejandro Nijamkin's avatar Alejandro Nijamkin
Browse files

[flexiglass] Fixes bug where fingerprint text wouldn't show in bouncer

Fix: 357663638
Test: manually verified that the text shows up after the second time the
bouncer is shown following 3 and then 2 wrong fingerprints
Test: unit tests updated
Flag: com.android.systemui.scene_container

Change-Id: I2093c82730a0c0a495846fc50b50032c7472e0ee
parent b096310e
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -367,8 +367,6 @@ class DeviceUnlockedInteractorTest : SysuiTestCase() {
                    DeviceEntryRestrictionReason.DeviceNotUnlockedSinceReboot,
                LockPatternUtils.StrongAuthTracker.SOME_AUTH_REQUIRED_AFTER_ADAPTIVE_AUTH_REQUEST to
                    DeviceEntryRestrictionReason.AdaptiveAuthRequest,
                LockPatternUtils.StrongAuthTracker.STRONG_AUTH_REQUIRED_AFTER_LOCKOUT to
                    DeviceEntryRestrictionReason.BouncerLockedOut,
                LockPatternUtils.StrongAuthTracker.STRONG_AUTH_REQUIRED_AFTER_TIMEOUT to
                    DeviceEntryRestrictionReason.SecurityTimeout,
                LockPatternUtils.StrongAuthTracker.STRONG_AUTH_REQUIRED_AFTER_USER_LOCKDOWN to
@@ -403,8 +401,6 @@ class DeviceUnlockedInteractorTest : SysuiTestCase() {
                    DeviceEntryRestrictionReason.DeviceNotUnlockedSinceReboot,
                LockPatternUtils.StrongAuthTracker.SOME_AUTH_REQUIRED_AFTER_ADAPTIVE_AUTH_REQUEST to
                    DeviceEntryRestrictionReason.AdaptiveAuthRequest,
                LockPatternUtils.StrongAuthTracker.STRONG_AUTH_REQUIRED_AFTER_LOCKOUT to
                    DeviceEntryRestrictionReason.BouncerLockedOut,
                LockPatternUtils.StrongAuthTracker.STRONG_AUTH_REQUIRED_AFTER_TIMEOUT to
                    DeviceEntryRestrictionReason.SecurityTimeout,
                LockPatternUtils.StrongAuthTracker.STRONG_AUTH_REQUIRED_AFTER_USER_LOCKDOWN to
@@ -440,8 +436,6 @@ class DeviceUnlockedInteractorTest : SysuiTestCase() {
                    DeviceEntryRestrictionReason.DeviceNotUnlockedSinceReboot,
                LockPatternUtils.StrongAuthTracker.SOME_AUTH_REQUIRED_AFTER_ADAPTIVE_AUTH_REQUEST to
                    DeviceEntryRestrictionReason.AdaptiveAuthRequest,
                LockPatternUtils.StrongAuthTracker.STRONG_AUTH_REQUIRED_AFTER_LOCKOUT to
                    DeviceEntryRestrictionReason.BouncerLockedOut,
                LockPatternUtils.StrongAuthTracker.STRONG_AUTH_REQUIRED_AFTER_TIMEOUT to
                    DeviceEntryRestrictionReason.SecurityTimeout,
                LockPatternUtils.StrongAuthTracker.STRONG_AUTH_REQUIRED_AFTER_USER_LOCKDOWN to
+1 −4
Original line number Diff line number Diff line
@@ -132,8 +132,6 @@ constructor(
                            DeviceEntryRestrictionReason.UnattendedUpdate
                        authFlags.isPrimaryAuthRequiredAfterTimeout ->
                            DeviceEntryRestrictionReason.SecurityTimeout
                        authFlags.isPrimaryAuthRequiredAfterLockout ->
                            DeviceEntryRestrictionReason.BouncerLockedOut
                        isFingerprintLockedOut ->
                            DeviceEntryRestrictionReason.StrongBiometricsLockedOut
                        isFaceLockedOut && faceAuthInteractor.isFaceAuthStrong() ->
@@ -376,8 +374,7 @@ constructor(
        private val interactor: DeviceUnlockedInteractor,
    ) : CoreStartable {
        override fun start() {
            if (!SceneContainerFlag.isEnabled)
                return
            if (!SceneContainerFlag.isEnabled) return

            applicationScope.launch { interactor.activate() }
        }