Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e1cd325b authored by Winson Chung's avatar Winson Chung Committed by android-build-merger
Browse files

Merge "Fixing typo in swipe helper causing views not to be faded when swiped." into oc-mr1-dev

am: 35ebb3c5

Change-Id: I6c37b1732ac7941f5504b1c5d9ac8e13d8715606
parents d5593e0f 35ebb3c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -203,7 +203,7 @@ public class SwipeHelper implements Gefingerpoken {
            return Math.max(1 - progress, 0);
        }

        return Math.min(0, Math.max(1, progress / SWIPE_PROGRESS_FADE_END));
        return 1f - Math.max(0, Math.min(1, progress / SWIPE_PROGRESS_FADE_END));
    }

    private void updateSwipeProgressFromOffset(View animView, boolean dismissable) {