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

Commit 4e9a6492 authored by shwetachahar's avatar shwetachahar
Browse files

Decrease the key progress increment step size to allow finer control of

seekbar using keys.
Bug:26926346
Change-Id: Ic7d290552c102d8602275f19dac4d57de4a53297
parent 57218cbb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -955,7 +955,7 @@ public abstract class AbsSeekBar extends ProgressBar {
                if (!canUserSetProgress()) {
                    return false;
                }
                int increment = Math.max(1, Math.round((float) getMax() / 5));
                int increment = Math.max(1, Math.round((float) getMax() / 20));
                if (action == AccessibilityNodeInfo.ACTION_SCROLL_BACKWARD) {
                    increment = -increment;
                }