From 4d883c5b785b1208675ece21570e50a95cdb3e10 Mon Sep 17 00:00:00 2001 From: Hongwei Wang Date: Thu, 6 Feb 2025 14:01:58 -0800 Subject: [PATCH] Update the comment on detach With ag/31545168, it's no longer caller's responsibility to recycle the bitmap being for overlay. Comment is updated accordling. Flag: EXEMPT comment Bug: 393584443 Test: N/A comment only Change-Id: Idc9b01dc71cf4b15773a03272baa97f9821710f7 --- .../src/com/android/quickstep/util/SwipePipToHomeAnimator.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/quickstep/src/com/android/quickstep/util/SwipePipToHomeAnimator.java b/quickstep/src/com/android/quickstep/util/SwipePipToHomeAnimator.java index 828322b6bf..7d5b471f02 100644 --- a/quickstep/src/com/android/quickstep/util/SwipePipToHomeAnimator.java +++ b/quickstep/src/com/android/quickstep/util/SwipePipToHomeAnimator.java @@ -169,9 +169,6 @@ public class SwipePipToHomeAnimator extends RectFSpringAnim { if (sourceRectHint.isEmpty()) { mSourceRectHint.set(getEnterPipWithOverlaySrcRectHint(appBounds, aspectRatio)); - // Create a new overlay layer. We do not call detach on this instance, it's propagated - // to other classes like PipTaskOrganizer / RecentsAnimationController to complete - // the cleanup. mPipContentOverlay = new PipContentOverlay.PipAppIconOverlay(view.getContext(), mAppBounds, mDestinationBounds, new IconProvider(context).getIcon(mActivityInfo), appIconSizePx);