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

Commit a46d2d04 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Fix min handling in AbsSeekBar

Bug: 74353295
Test: Manual test with the "Reduced power mode" setting screen.
Change-Id: Ic097f6ddeb3a27d8c30099b00aa8b71675f6de71
parent 983c1e54
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -863,7 +863,7 @@ public abstract class AbsSeekBar extends ProgressBar {
        }

        final int range = getMax() - getMin();
        progress += scale * range;
        progress += scale * range + getMin();

        setHotspot(x, y);
        setProgressInternal(Math.round(progress), true, false);