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

Commit 9e45b78c authored by Adam Powell's avatar Adam Powell Committed by Android Git Automerger
Browse files

am aa79a5d5: Merge "Fix bug 5455676 - seek bars without thumbs" into ics-mr0

* commit 'aa79a5d5':
  Fix bug 5455676 - seek bars without thumbs
parents 7327b8a8 aa79a5d5
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -335,7 +335,9 @@ public abstract class AbsSeekBar extends ProgressBar {
                    mTouchDownX = event.getX();
                } else {
                    setPressed(true);
                    if (mThumb != null) {
                        invalidate(mThumb.getBounds()); // This may be within the padding region
                    }
                    onStartTrackingTouch();
                    trackTouchEvent(event);
                    attemptClaimDrag();
@@ -349,7 +351,9 @@ public abstract class AbsSeekBar extends ProgressBar {
                    final float x = event.getX();
                    if (Math.abs(x - mTouchDownX) > mScaledTouchSlop) {
                        setPressed(true);
                        if (mThumb != null) {
                            invalidate(mThumb.getBounds()); // This may be within the padding region
                        }
                        onStartTrackingTouch();
                        trackTouchEvent(event);
                        attemptClaimDrag();