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

Commit 086467da authored by Rajeev Kumar's avatar Rajeev Kumar
Browse files

1. Get rid of unnecessary ; from VerticalPullDetector

2. Make an instance variable final

Change-Id: I1a62814106c064a13ee5da0882db36d56e122f98
parent 5692eb45
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ public class VerticalPullDetector {
    private static final boolean DBG = false;
    private static final String TAG = "VerticalPullDetector";

    private float mTouchSlop;
    private final float mTouchSlop;

    private int mScrollConditions;
    public static final int DIRECTION_UP = 1 << 0;
@@ -47,8 +47,6 @@ public class VerticalPullDetector {
        SETTLING       // onDragEnd
    }

    ;

    //------------------- ScrollState transition diagram -----------------------------------
    //
    // IDLE ->      (mDisplacement > mTouchSlop) -> DRAGGING
@@ -110,7 +108,7 @@ public class VerticalPullDetector {
    private boolean mIgnoreSlopWhenSettling;

    /* Client of this gesture detector can register a callback. */
    Listener mListener;
    private Listener mListener;

    public void setListener(Listener l) {
        mListener = l;