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

Commit 916778d9 authored by David van Tonder's avatar David van Tonder Committed by Gerrit Code Review
Browse files

Merge "Disable Automatic brightness checkbox if automatic brightness is not available" into cm-10.1

parents 19a9cae3 9255129f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -120,6 +120,7 @@ public class BrightnessPreference extends SeekBarDialogPreference implements
            mCheckBox.setChecked(mAutomaticMode);
            mSeekBar.setEnabled(!mAutomaticMode || USE_SCREEN_AUTO_BRIGHTNESS_ADJUSTMENT);
        } else {
            mCheckBox.setEnabled(false);
            mSeekBar.setEnabled(true);
        }
        mSeekBar.setOnSeekBarChangeListener(this);