2022-05-02 23:38:55 -04:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2022-05-01 22:39:49 -04:00
|
|
|
From: Jesse Chan <jc@lineageos.org>
|
|
|
|
Date: Sat, 15 Aug 2020 21:38:06 +0800
|
|
|
|
Subject: [PATCH] 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
|
|
|
|
---
|
|
|
|
.../src/com/android/systemui/statusbar/phone/StatusBar.java | 3 ++-
|
|
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java
|
2022-06-13 11:04:06 -04:00
|
|
|
index 6552e1e9c522..7141e2801f10 100644
|
2022-05-01 22:39:49 -04:00
|
|
|
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java
|
|
|
|
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java
|
2022-06-13 11:04:06 -04:00
|
|
|
@@ -3933,7 +3933,8 @@ public class StatusBar extends SystemUI implements
|
2022-05-01 22:39:49 -04:00
|
|
|
|
|
|
|
boolean launchingAffordanceWithPreview =
|
|
|
|
mNotificationPanelViewController.isLaunchingAffordanceWithPreview();
|
|
|
|
- mScrimController.setLaunchingAffordanceWithPreview(launchingAffordanceWithPreview);
|
|
|
|
+ mScrimController.setLaunchingAffordanceWithPreview(launchingAffordanceWithPreview
|
|
|
|
+ || mBiometricUnlockController.isWakeAndUnlock());
|
|
|
|
|
|
|
|
if (mStatusBarKeyguardViewManager.isShowingAlternateAuth()) {
|
|
|
|
if (mState == StatusBarState.SHADE || mState == StatusBarState.SHADE_LOCKED) {
|