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:
+1
-1
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user