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

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

am acf7d982: Merge "Fix bug 5434403 - invalidation problem with seek bars at edges" into ics-mr0

* commit 'acf7d982':
  Fix bug 5434403 - invalidation problem with seek bars at edges
parents f42d34bd acf7d982
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -335,6 +335,7 @@ public abstract class AbsSeekBar extends ProgressBar {
                    mTouchDownX = event.getX();
                } else {
                    setPressed(true);
                    invalidate(mThumb.getBounds()); // This may be within the padding region
                    onStartTrackingTouch();
                    trackTouchEvent(event);
                    attemptClaimDrag();
@@ -348,6 +349,7 @@ public abstract class AbsSeekBar extends ProgressBar {
                    final float x = event.getX();
                    if (Math.abs(x - mTouchDownX) > mScaledTouchSlop) {
                        setPressed(true);
                        invalidate(mThumb.getBounds()); // This may be within the padding region
                        onStartTrackingTouch();
                        trackTouchEvent(event);
                        attemptClaimDrag();