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

Commit f4d980bb authored by Danny Baumann's avatar Danny Baumann Committed by Steve Kondik
Browse files

Allow adjusting progress on touch events.

Change-Id: Ide0a7ae057a62f3631a32eeaa63f3e04dec5bf54
parent a6ed0aa7
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -850,6 +850,13 @@ public abstract class AbsSeekBar extends ProgressBar {
        setProgressInternal(Math.round(progress), true, false);
    }

    /**
     * @hide
     */
    protected int updateTouchProgress(int lastProgress, int newProgress) {
        return newProgress;
    }

    /**
     * Tries to claim the user's drag motion, and requests disallowing any
     * ancestors from stealing events in the drag.