Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf29b8ca authored by Mateusz Cicheński's avatar Mateusz Cicheński Committed by Android (Google) Code Review
Browse files

Merge "Add log statement for double-removal attempt on overlay" into main

parents 67edd352 d1fbd487
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1957,6 +1957,8 @@ public class PipTaskOrganizer implements ShellTaskOrganizer.TaskListener,
        }
        if (mPipTransitionState.getTransitionState() == PipTransitionState.UNDEFINED) {
            // Avoid double removal, which is fatal.
            ProtoLog.w(ShellProtoLogGroup.WM_SHELL_PICTURE_IN_PICTURE,
                    "%s: trying to remove overlay (%s) while in UNDEFINED state", TAG, surface);
            return;
        }
        if (surface == null || !surface.isValid()) {