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

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

Add extra logs for overlay removal

Bug: 316967533
Change-Id: I45a7ae5b619477e04a819b06926f457886c3e81d
Test: n/a, adding logs for debugging bugs
Flag: none
parent f40ac1bf
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -1891,6 +1891,9 @@ public class PipTaskOrganizer implements ShellTaskOrganizer.TaskListener,
    }
    }


    private void removeContentOverlay(SurfaceControl surface, Runnable callback) {
    private void removeContentOverlay(SurfaceControl surface, Runnable callback) {
        ProtoLog.w(ShellProtoLogGroup.WM_SHELL_PICTURE_IN_PICTURE,
                "removeContentOverlay: %s, state=%s, surface=%s",
                mTaskInfo, mPipTransitionState, surface);
        if (mPipOverlay != null) {
        if (mPipOverlay != null) {
            if (mPipOverlay != surface) {
            if (mPipOverlay != surface) {
                ProtoLog.w(ShellProtoLogGroup.WM_SHELL_PICTURE_IN_PICTURE,
                ProtoLog.w(ShellProtoLogGroup.WM_SHELL_PICTURE_IN_PICTURE,