Merge "Fix issue where animation progress would be overridden"
This commit is contained in:
@@ -390,7 +390,6 @@ public class ClipAnimationHelper {
|
||||
public TransformParams setCurrentRectAndTargetAlpha(RectF currentRect, float targetAlpha) {
|
||||
this.currentRect = currentRect;
|
||||
this.targetAlpha = targetAlpha;
|
||||
this.progress = 1;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
@@ -222,7 +222,8 @@ public class LauncherRecentsView extends RecentsView<Launcher> {
|
||||
mTempRect.top -= offsetY;
|
||||
}
|
||||
mTempRectF.set(mTempRect);
|
||||
mTransformParams.setCurrentRectAndTargetAlpha(mTempRectF, taskView.getAlpha())
|
||||
mTransformParams.setProgress(1f)
|
||||
.setCurrentRectAndTargetAlpha(mTempRectF, taskView.getAlpha())
|
||||
.setSyncTransactionApplier(mSyncTransactionApplier);
|
||||
if (mRecentsAnimationWrapper.targetSet != null) {
|
||||
mClipAnimationHelper.applyTransform(mRecentsAnimationWrapper.targetSet,
|
||||
|
||||
Reference in New Issue
Block a user