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

Commit 086c0611 authored by Wink Saville's avatar Wink Saville
Browse files

Fix build.

This change, I80dbccebea11544595935077463ad7737c3392e9, broke the build
I undeprecated two old OverScroller constructors and hid the new one.

Change-Id: I257ebbc6bb432c6487d63ff03725146dd225a8e2
parent 314b2ef5
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -67,6 +67,7 @@ public class OverScroller {
     * @param interpolator The scroll interpolator. If null, a default (viscous) interpolator will
     * be used.
     * @param flywheel If true, successive fling motions will keep on increasing scroll speed.
     * @hide
     */
    public OverScroller(Context context, Interpolator interpolator, boolean flywheel) {
        mInterpolator = interpolator;
@@ -87,9 +88,8 @@ public class OverScroller {
     * means no bounce. This behavior is no longer supported and this coefficient has no effect.
     * @param bounceCoefficientY Same as bounceCoefficientX but for the vertical direction. This
     * behavior is no longer supported and this coefficient has no effect.
     * @deprecated Use {@link #OverScroller(Context, Interpolator, boolean)} instead.
     * !deprecated Use {!link #OverScroller(Context, Interpolator, boolean)} instead.
     */
    @Deprecated
    public OverScroller(Context context, Interpolator interpolator,
            float bounceCoefficientX, float bounceCoefficientY) {
        this(context, interpolator, true);
@@ -106,9 +106,8 @@ public class OverScroller {
     * @param bounceCoefficientY Same as bounceCoefficientX but for the vertical direction. This
     * behavior is no longer supported and this coefficient has no effect.
     * @param flywheel If true, successive fling motions will keep on increasing scroll speed.
     * @deprecated Use {@link #OverScroller(Context, Interpolator, boolean)} instead.
     * !deprecated Use {!link OverScroller(Context, Interpolator, boolean)} instead.
     */
    @Deprecated
    public OverScroller(Context context, Interpolator interpolator,
            float bounceCoefficientX, float bounceCoefficientY, boolean flywheel) {
        this(context, interpolator, flywheel);