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

Commit a655c635 authored by Romain Guy's avatar Romain Guy
Browse files

Actually store the newly computed deceleration.

Change-Id: Ib62470187ec7709340f04842748b9d8cb88ee0c2
parent 588fcde5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@ public class Scroller {
     *         friction.
     */
    public final void setFriction(float friction) {
        computeDeceleration(friction);
        mDeceleration = computeDeceleration(friction);
    }
    
    private float computeDeceleration(float friction) {