Merge "Remove SurfaceFreezer leash when unfreeze" into sc-v2-dev

This commit is contained in:
Chris Li
2021-09-08 19:31:03 +00:00
committed by Android (Google) Code Review

View File

@@ -117,7 +117,7 @@ class SurfaceFreezer {
SurfaceControl leash = mLeash;
mLeash = null;
final boolean scheduleAnim = SurfaceAnimator.removeLeash(t, mAnimatable, leash,
false /* destroy */);
true /* destroy */);
if (scheduleAnim) {
mWmService.scheduleAnimationLocked();
}