[automerge] Revert "[DO NOT MERGE] Keyguard was hiding occluding activities" 2p: d7fe18428f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17145222 Change-Id: Iba6f17c04043eaaa6ead6195723985cd9476d1c2
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user