Revert "[DO NOT MERGE] Keyguard was hiding occluding activities"
This reverts commit 267ecd151e.
Reason for revert: regression b/223088536
Change-Id: I5e82ad358a8c7c7027415ab55c5d7e5bd3c05527
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