summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/BrightnessPreference.java
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-05-11 18:39:30 -0700
committerJeff Brown <jeffbrown@google.com>2012-05-11 18:40:27 -0700
commitdefcb0060d6f816fafc27b80cdeba731954af5d0 (patch)
treeb4ade10c4c94dfe6fae6f09d67a85722fb278b74 /src/com/android/settings/BrightnessPreference.java
parente508dc25f2d3168f37fe5963fc99b0a034a3a298 (diff)
downloadpackages_apps_settings-defcb0060d6f816fafc27b80cdeba731954af5d0.zip
packages_apps_settings-defcb0060d6f816fafc27b80cdeba731954af5d0.tar.gz
packages_apps_settings-defcb0060d6f816fafc27b80cdeba731954af5d0.tar.bz2
Update references to PowerManager constants that have moved.
Bug: 6435382 Change-Id: Ieea857644dc0cf758e0ff4fd595c6a0115457df0
Diffstat (limited to 'src/com/android/settings/BrightnessPreference.java')
-rw-r--r--src/com/android/settings/BrightnessPreference.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/BrightnessPreference.java b/src/com/android/settings/BrightnessPreference.java
index 6d609ff..c80f66d 100644
--- a/src/com/android/settings/BrightnessPreference.java
+++ b/src/com/android/settings/BrightnessPreference.java
@@ -53,7 +53,7 @@ public class BrightnessPreference extends SeekBarDialogPreference implements
// doesn't set the backlight to 0 and get stuck
private int mScreenBrightnessDim =
getContext().getResources().getInteger(com.android.internal.R.integer.config_screenBrightnessDim);
- private static final int MAXIMUM_BACKLIGHT = android.os.Power.BRIGHTNESS_ON;
+ private static final int MAXIMUM_BACKLIGHT = android.os.PowerManager.BRIGHTNESS_ON;
private static final int SEEK_BAR_RANGE = 10000;