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

Commit 88199098 authored by qinyige1's avatar qinyige1 Committed by Winson Chung
Browse files

Amend callsite of SurfaceControl instantiation.

For debugging layer leak.

Bug: 339138626
Test: Manual
Change-Id: I8500831ec0ab1aad77eb2241447becb94157a469
parent 40349d86
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -175,6 +175,7 @@ public class ShellTaskOrganizer extends TaskOrganizer implements
            .setName("home_task_overlay_container")
            .setContainerLayer()
            .setHidden(false)
            .setCallsite("ShellTaskOrganizer.mHomeTaskOverlayContainer")
            .build();

    /**
+1 −0
Original line number Diff line number Diff line
@@ -222,6 +222,7 @@ public class DesktopModeVisualIndicator {
        mLeash = builder
                .setName("Desktop Mode Visual Indicator")
                .setContainerLayer()
                .setCallsite("DesktopModeVisualIndicator.createView")
                .build();
        t.show(mLeash);
        final WindowManager.LayoutParams lp =
+1 −0
Original line number Diff line number Diff line
@@ -643,6 +643,7 @@ public class PipTransition extends PipTransitionController {
                    .setContainerLayer()
                    .setHidden(false)
                    .setParent(root.getLeash())
                    .setCallsite("PipTransition.startExitAnimation")
                    .build();
            startTransaction.reparent(activitySurface, pipLeash);
            // Put the activity at local position with offset in case it is letterboxed.
+1 −0
Original line number Diff line number Diff line
@@ -233,6 +233,7 @@ public class TvPipTransition extends PipTransitionController {
                                .setContainerLayer()
                                .setHidden(false)
                                .setParent(root.getLeash())
                                .setCallsite("TvPipTransition.startAnimation")
                                .build();
                        startTransaction.reparent(activitySurface, pipLeash);
                        // Put the activity at local position with offset in case it is letterboxed.
+1 −0
Original line number Diff line number Diff line
@@ -280,6 +280,7 @@ public class TransitionAnimationHelper {
                .setParent(rootLeash)
                .setColorLayer()
                .setOpaque(true)
                .setCallsite("TransitionAnimationHelper.addBackgroundToTransition")
                .build();
        startTransaction
                .setLayer(animationBackgroundSurface, Integer.MIN_VALUE)
Loading