Loading packages/SystemUI/animation/src/com/android/systemui/animation/RemoteAnimationRunnerCompat.java +4 −0 Original line number Diff line number Diff line Loading @@ -197,6 +197,10 @@ 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(); Loading Loading
packages/SystemUI/animation/src/com/android/systemui/animation/RemoteAnimationRunnerCompat.java +4 −0 Original line number Diff line number Diff line Loading @@ -197,6 +197,10 @@ 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(); Loading