diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/back/BackAnimation.java b/libs/WindowManager/Shell/src/com/android/wm/shell/back/BackAnimation.java index 133fd87a2f63c..53a438ec2fded 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/back/BackAnimation.java +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/back/BackAnimation.java @@ -55,10 +55,9 @@ public interface BackAnimation { /** * Sets the threshold values that defining edge swipe behavior. - * @param triggerThreshold the min threshold to trigger back. - * @param progressThreshold the max threshold to keep progressing back animation. + * @param progressThreshold the max threshold to keep linear progressing back animation. */ - void setSwipeThresholds(float triggerThreshold, float progressThreshold); + void setSwipeThresholds(float progressThreshold); /** * Sets the system bar listener to control the system bar color. diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/back/BackAnimationController.java b/libs/WindowManager/Shell/src/com/android/wm/shell/back/BackAnimationController.java index dc27ceb7f51cb..6d879b830e2e7 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/back/BackAnimationController.java +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/back/BackAnimationController.java @@ -301,9 +301,9 @@ public class BackAnimationController implements RemoteCallable BackAnimationController.this.setSwipeThresholds( - triggerThreshold, progressThreshold)); + progressThreshold)); } @Override @@ -605,7 +605,7 @@ public class BackAnimationController implements RemoteCallable