diff options
author | 2025-04-02 06:19:24 -0700 | |
---|---|---|
committer | 2025-04-02 19:33:42 -0700 | |
commit | fb150a88ca7c5ef48d599720560949682f4e4893 (patch) | |
tree | 38e7069f914b0fe2569dfcf65ce4036f150e1641 | |
parent | 2891ee35af142523239a8acde9261b1f81d57f4c (diff) |
Revert "Prevent leak of transition leashes in RemoteAnimationRunnerCompat."
This reverts commit 0955ae43a32e25fb14a2538ec0c409ab76fd3a66.
Reason for revert: part of a revert chain to CP fix to b/404507270. The end state is the same as currently at ToT, but need to have cherry-pickable CLs for branches that are in CP mode.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d980405713bd9876f7301116e648f1d88b460eba)
Merged-In: I3c3eb66f2ab59d16598394f754279e441eb89e85
Change-Id: I3c3eb66f2ab59d16598394f754279e441eb89e85
-rw-r--r-- | packages/SystemUI/animation/src/com/android/systemui/animation/RemoteAnimationRunnerCompat.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/packages/SystemUI/animation/src/com/android/systemui/animation/RemoteAnimationRunnerCompat.java b/packages/SystemUI/animation/src/com/android/systemui/animation/RemoteAnimationRunnerCompat.java index 060f0c94732d..21ec89646f0f 100644 --- a/packages/SystemUI/animation/src/com/android/systemui/animation/RemoteAnimationRunnerCompat.java +++ b/packages/SystemUI/animation/src/com/android/systemui/animation/RemoteAnimationRunnerCompat.java @@ -197,10 +197,6 @@ public abstract class RemoteAnimationRunnerCompat extends IRemoteAnimationRunner // Release surface references now. This is apparently to free GPU memory // before GC would. info.releaseAllSurfaces(); - // Make sure that the transition leashes created are not leaked. - for (SurfaceControl leash : leashMap.values()) { - finishTransaction.reparent(leash, null); - } // Don't release here since launcher might still be using them. Instead // let launcher release them (eg. via RemoteAnimationTargets) leashMap.clear(); |