Merge "Stop calling #setOccluded when WM shell is enabled." into tm-qpr-dev

This commit is contained in:
Issei Suzuki
2022-08-23 16:39:12 +00:00
committed by Android (Google) Code Review

View File

@@ -3245,8 +3245,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
@Override
public void onKeyguardOccludedChangedLw(boolean occluded) {
if (mKeyguardDelegate != null && mKeyguardDelegate.isShowing()
&& !WindowManagerService.sEnableShellTransitions) {
if (mKeyguardDelegate != null && mKeyguardDelegate.isShowing()) {
mPendingKeyguardOccluded = occluded;
mKeyguardOccludedChanged = true;
} else {