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

Commit 57361ef0 authored by Adam Powell's avatar Adam Powell
Browse files

DO NOT MERGE Fix bug 2995887 - overscroll effect initialization issue

Change-Id: I03cc18616dec05eb9e0383dc02371366c70cc12b
parent 7e9f4eb2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1582,7 +1582,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility
     * {@link #OVERSCROLL_ALWAYS}, {@link #OVERSCROLL_IF_CONTENT_SCROLLS},
     * and {@link #OVERSCROLL_NEVER}.
     */
    private int mOverscrollMode = OVERSCROLL_ALWAYS;
    private int mOverscrollMode;

    /**
     * The parent this view is attached to.
@@ -1876,6 +1876,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility
        // Used for debug only
        //++sInstanceCount;
        mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop();
        setOverscrollMode(OVERSCROLL_ALWAYS);
    }

    /**