Skip to content

Commit 7d16102

Browse files
jesecluca020400
authored andcommitted
Skip screen on animation when wake and unlock via biometrics
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
1 parent d41cf50 commit 7d16102

File tree

1 file changed

+2
-1
lines changed
  • packages/SystemUI/src/com/android/systemui/statusbar/phone

1 file changed

+2
-1
lines changed

packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4180,7 +4180,8 @@ void updateScrimController() {
41804180

41814181
boolean launchingAffordanceWithPreview =
41824182
mNotificationPanel.isLaunchingAffordanceWithPreview();
4183-
mScrimController.setLaunchingAffordanceWithPreview(launchingAffordanceWithPreview);
4183+
mScrimController.setLaunchingAffordanceWithPreview(launchingAffordanceWithPreview
4184+
|| mBiometricUnlockController.isWakeAndUnlock());
41844185

41854186
if (mBouncerShowing) {
41864187
// Bouncer needs the front scrim when it's on top of an activity,

0 commit comments

Comments
 (0)