mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-24 06:59:27 -05:00
b5224f0c79
These were previously removed, and added back after a false report of breakage. Data and VoLTE tested working on taimen Signed-off-by: Tad <tad@spotco.us>
30 lines
1.5 KiB
Diff
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 371887ba60de..a0630e4831e1 100644
|
|
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java
|
|
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java
|
|
@@ -3924,7 +3924,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) {
|