Merge "Remove SurfaceFreezer leash when unfreeze" into sc-v2-dev am: ea3c85264d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15650480 Change-Id: Ia9dc94706d61b156f94fea388743fef68c0e8f51
This commit is contained in:
@@ -117,7 +117,7 @@ class SurfaceFreezer {
|
|||||||
SurfaceControl leash = mLeash;
|
SurfaceControl leash = mLeash;
|
||||||
mLeash = null;
|
mLeash = null;
|
||||||
final boolean scheduleAnim = SurfaceAnimator.removeLeash(t, mAnimatable, leash,
|
final boolean scheduleAnim = SurfaceAnimator.removeLeash(t, mAnimatable, leash,
|
||||||
false /* destroy */);
|
true /* destroy */);
|
||||||
if (scheduleAnim) {
|
if (scheduleAnim) {
|
||||||
mWmService.scheduleAnimationLocked();
|
mWmService.scheduleAnimationLocked();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user