diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-03-10 03:20:09 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-03-10 03:20:09 +0000 |
commit | 3852e9ded8dd6e9192ba7a6d58f9c8a36c61231d (patch) | |
tree | 2f801484f19629031f363995f39c71d7747c92b5 | |
parent | ec198dbcaea1a58660e95cb748c7f9722d56e13f (diff) | |
parent | fa935c5737f9ac60c428c5ce6e53b5eeaef85dd2 (diff) | |
download | base-3852e9ded8dd6e9192ba7a6d58f9c8a36c61231d.tar.gz |
Merge cherrypicks of [17145222] into sc-d2-release.
Change-Id: I68df5f9f1af0e9aefb815a39c133880dbd2130f0
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java | 7 |
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 17937ca3a9f0..33212182cfcf 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(); } @@ -3715,10 +3714,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(); |