Skip to content

Commit 312a626

Browse files
jhenrique09uwu-gl
authored andcommitted
KeyguardBouncer: Don't delay showing if face auth running
[someone5678] Forward port to A13 QPR3 Change-Id: I1897aa22a9c29627b2f03e14f093151453df7be4
1 parent 455c843 commit 312a626

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

packages/SystemUI/src/com/android/systemui/bouncer/domain/interactor/PrimaryBouncerInteractor.kt

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,6 @@ constructor(
7979
private val selectedUserInteractor: SelectedUserInteractor,
8080
private val deviceEntryFaceAuthInteractor: DeviceEntryFaceAuthInteractor,
8181
) {
82-
private val passiveAuthBouncerDelay =
83-
context.resources.getInteger(R.integer.primary_bouncer_passive_auth_delay).toLong()
84-
8582
/** Runnable to show the primary bouncer. */
8683
val showRunnable = Runnable {
8784
repository.setPrimaryShow(true)
@@ -178,12 +175,7 @@ constructor(
178175

179176
Log.i(TAG, "Show primary bouncer requested, reason: $reason")
180177
repository.setPrimaryShowingSoon(true)
181-
if (usePrimaryBouncerPassiveAuthDelay()) {
182-
Log.d(TAG, "delay bouncer, passive auth may succeed")
183-
mainHandler.postDelayed(showRunnable, passiveAuthBouncerDelay)
184-
} else {
185-
DejankUtils.postAfterTraversal(showRunnable)
186-
}
178+
DejankUtils.postAfterTraversal(showRunnable)
187179
keyguardStateController.notifyPrimaryBouncerShowing(true)
188180
primaryBouncerCallbackInteractor.dispatchStartingToShow()
189181
return true

0 commit comments

Comments
 (0)