DivestOS/Patches/LineageOS-19.1/android_frameworks_base/326692.patch
Tad e7968e1269
Picks + Churn
Signed-off-by: Tad <tad@spotco.us>
2022-10-09 16:35:12 -04:00

30 lines
1.5 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
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
index ea951d79ad63..6caf96f885a8 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java
@@ -3944,7 +3944,8 @@ public class StatusBar extends SystemUI implements
boolean launchingAffordanceWithPreview =
mNotificationPanelViewController.isLaunchingAffordanceWithPreview();
- mScrimController.setLaunchingAffordanceWithPreview(launchingAffordanceWithPreview);
+ mScrimController.setLaunchingAffordanceWithPreview(launchingAffordanceWithPreview
+ || mBiometricUnlockController.isWakeAndUnlock());
if (mStatusBarKeyguardViewManager.isShowingAlternateAuth()) {
if (mState == StatusBarState.SHADE || mState == StatusBarState.SHADE_LOCKED) {