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

Commit bd443c01 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 24887 into eclair

* changes:
  Fix http://b/issue?id=2098873 (drawing glitch in SeekBar).
parents 294cd985 eb9fdc21
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -301,11 +301,16 @@ public abstract class AbsSeekBar extends ProgressBar {
                trackTouchEvent(event);
                onStopTrackingTouch();
                setPressed(false);
                // ProgressBar doesn't know to repaint the thumb drawable
                // in its inactive state when the touch stops (because the
                // value has not apparently changed)
                invalidate();
                break;
                
            case MotionEvent.ACTION_CANCEL:
                onStopTrackingTouch();
                setPressed(false);
                invalidate(); // see above explanation
                break;
        }
        return true;