Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98f5655f authored by Lucas Dupin's avatar Lucas Dupin Committed by Android (Google) Code Review
Browse files

Merge "Adb command to authenticate earlier" into qt-r1-dev

parents d88a953a 2cda9f6b
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -3890,6 +3890,8 @@ public class StatusBar extends SystemUI implements DemoMode,
        private boolean mAnimateWakeup;
        private boolean mAnimateScreenOff;
        private boolean mIgnoreTouchWhilePulsing;
        private boolean mWakeLockScreenPerformsAuth = SystemProperties.getBoolean(
                "persist.sysui.wake_performs_auth", false);

        @Override
        public String toString() {
@@ -3945,7 +3947,9 @@ public class StatusBar extends SystemUI implements DemoMode,
                mStatusBarWindow.suppressWakeUpGesture(true);
            }

            boolean passiveAuthInterrupt = reason == DozeLog.PULSE_REASON_NOTIFICATION;
            boolean passiveAuthInterrupt = reason == DozeLog.PULSE_REASON_NOTIFICATION || (
                    reason == DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN
                            && mWakeLockScreenPerformsAuth);
            // Set the state to pulsing, so ScrimController will know what to do once we ask it to
            // execute the transition. The pulse callback will then be invoked when the scrims
            // are black, indicating that StatusBar is ready to present the rest of the UI.