Merge "Fix the flicker when entering PiP from Recents" into tm-qpr-dev

This commit is contained in:
Hongwei Wang
2023-01-09 20:20:20 +00:00
committed by Android (Google) Code Review

View File

@@ -814,7 +814,7 @@ public class PipController implements PipTransitionController.PipTransitionCallb
@Override
public void onKeyguardVisibilityChanged(boolean visible, boolean occluded,
boolean animatingDismiss) {
if (!mPipTaskOrganizer.isInPip()) {
if (!mPipTransitionState.hasEnteredPip()) {
return;
}
if (visible) {