summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/android/settings/BrightnessPreference.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/settings/BrightnessPreference.java b/src/com/android/settings/BrightnessPreference.java
index 2cf6b43..e4c6e90 100644
--- a/src/com/android/settings/BrightnessPreference.java
+++ b/src/com/android/settings/BrightnessPreference.java
@@ -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);