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

Commit d1fbd487 authored by Mateusz Cicheński's avatar Mateusz Cicheński
Browse files

Add log statement for double-removal attempt on overlay

Bug: 330488822
Change-Id: I83d41652420ec05493ef2a227dd145130c4f1135
Test: n/a
Flag: n/a
parent c2b2e812
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()) {