Loading services/core/java/com/android/server/wm/SurfaceAnimationRunner.java +6 −1 Original line number Diff line number Diff line Loading @@ -169,7 +169,12 @@ class SurfaceAnimationRunner { anim.addUpdateListener(animation -> { synchronized (mCancelLock) { if (!a.mCancelled) { applyTransformation(a, mFrameTransaction, anim.getCurrentPlayTime()); final long duration = anim.getDuration(); long currentPlayTime = anim.getCurrentPlayTime(); if (currentPlayTime > duration) { currentPlayTime = duration; } applyTransformation(a, mFrameTransaction, currentPlayTime); } } Loading Loading
services/core/java/com/android/server/wm/SurfaceAnimationRunner.java +6 −1 Original line number Diff line number Diff line Loading @@ -169,7 +169,12 @@ class SurfaceAnimationRunner { anim.addUpdateListener(animation -> { synchronized (mCancelLock) { if (!a.mCancelled) { applyTransformation(a, mFrameTransaction, anim.getCurrentPlayTime()); final long duration = anim.getDuration(); long currentPlayTime = anim.getCurrentPlayTime(); if (currentPlayTime > duration) { currentPlayTime = duration; } applyTransformation(a, mFrameTransaction, currentPlayTime); } } Loading