Bound progress to 0 to 1

Test: Swipe up far to overview, ensure corners stay rounded throughout
Change-Id: Ie8694237586dad3d2f3605d2a395f1079c9cebc1
This commit is contained in:
Tony Wickham
2019-11-06 10:35:44 -08:00
parent 43968167d9
commit 3260168f3a
@@ -169,7 +169,7 @@ public class AppWindowAnimationHelper {
return null;
}
float progress = params.progress;
float progress = Utilities.boundToRange(params.progress, 0, 1);
updateCurrentRect(params);
SurfaceParams[] surfaceParams = new SurfaceParams[params.targetSet.unfilteredApps.length];