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

Commit fc7315c6 authored by Jeff Brown's avatar Jeff Brown Committed by Android Git Automerger
Browse files

am 6d71e165: Merge "Round off when calculate next step in Seekbar"

* commit '6d71e165':
  Round off when calculate next step in Seekbar
parents 33282d66 6d71e165
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -292,7 +292,7 @@ public abstract class AbsSeekBar extends ProgressBar {
        // The extra space for the thumb to move on the track
        available += mThumbOffset * 2;

        int thumbPos = (int) (scale * available);
        int thumbPos = (int) (scale * available + 0.5f);

        int topBound, bottomBound;
        if (gap == Integer.MIN_VALUE) {