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

Commit 31a8a13f authored by Danny Baumann's avatar Danny Baumann Committed by Gerrit Code Review
Browse files

Merge "Settings: fix incorrect value in autobrightness adjustment" into cm-10.1

parents 0deb0104 f2714e4e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -504,10 +504,10 @@ public class AutoBrightnessCustomizeDialog extends AlertDialog

                            if (progress < minValue) {
                                seekBar.setProgress(minValue);
                                return;
                                progress = minValue;
                            } else if (progress > maxValue) {
                                seekBar.setProgress(maxValue);
                                return;
                                progress = maxValue;
                            }

                            getItem(pos).backlight = Math.round(progressToBrightness(progress));