summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Matt Pietal <mpietal@google.com> 2022-03-10 00:02:51 +0000
committer Matt Pietal <mpietal@google.com> 2022-03-10 00:02:51 +0000
commitd7fe18428fe3455e25fb1ed5e052d2e9b498f065 (patch)
tree71aad6894f5fd8345ce4d3aee3661df29c8a131c
parent267ecd151e8e7ad313cbe1a511f18d2d78f2e459 (diff)
Revert "[DO NOT MERGE] Keyguard was hiding occluding activities"
This reverts commit 267ecd151e8e7ad313cbe1a511f18d2d78f2e459. Reason for revert: regression b/223088536 Change-Id: I5e82ad358a8c7c7027415ab55c5d7e5bd3c05527
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java7
1 files changed, 1 insertions, 6 deletions
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 071c8c9117ec..d4ce34010bfd 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java
@@ -2937,9 +2937,8 @@ public class StatusBar extends SystemUI implements
// turned off fully.
boolean keyguardForDozing = mDozeServiceHost.getDozingRequested()
&& (!mDeviceInteractive || isGoingToSleep() && (isScreenFullyOff() || mIsKeyguard));
- boolean isWakingAndOccluded = isOccluded() && isWaking();
boolean shouldBeKeyguard = (mStatusBarStateController.isKeyguardRequested()
- || keyguardForDozing) && !wakeAndUnlocking && !isWakingAndOccluded;
+ || keyguardForDozing) && !wakeAndUnlocking;
if (keyguardForDozing) {
updatePanelExpansionForKeyguard();
}
@@ -3717,10 +3716,6 @@ public class StatusBar extends SystemUI implements
== WakefulnessLifecycle.WAKEFULNESS_GOING_TO_SLEEP;
}
- boolean isWaking() {
- return mWakefulnessLifecycle.getWakefulness() == WakefulnessLifecycle.WAKEFULNESS_WAKING;
- }
-
public void notifyBiometricAuthModeChanged() {
mDozeServiceHost.updateDozing();
updateScrimController();