Skip to content

Commit

Permalink
Skip screen on animation when wake and unlock via biometrics
Browse files Browse the repository at this point in the history
Screen on animation is slow. Modern fingerprint sensor is *FAST*.
We need moar speed to deliver better user experience.

* OEMs are doing this for years.

Change-Id: I5f98259eb992b2f43872f957fcb0092412fe558c
  • Loading branch information
jesec authored and kdrag0n committed Jun 7, 2022
1 parent 5cb4ffe commit 36bce0e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3746,7 +3746,8 @@ public void updateScrimController() {

boolean launchingAffordanceWithPreview =
mNotificationPanelViewController.isLaunchingAffordanceWithPreview();
mScrimController.setLaunchingAffordanceWithPreview(launchingAffordanceWithPreview);
mScrimController.setLaunchingAffordanceWithPreview(launchingAffordanceWithPreview
|| mBiometricUnlockController.isWakeAndUnlock());

if (mStatusBarKeyguardViewManager.isShowingAlternateAuth()) {
if (mState == StatusBarState.SHADE || mState == StatusBarState.SHADE_LOCKED) {
Expand Down

0 comments on commit 36bce0e

Please sign in to comment.