diff options
author | Jeff Brown <jeffbrown@google.com> | 2012-05-11 18:39:30 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2012-05-11 18:40:27 -0700 |
commit | defcb0060d6f816fafc27b80cdeba731954af5d0 (patch) | |
tree | b4ade10c4c94dfe6fae6f09d67a85722fb278b74 /src/com/android/settings/BrightnessPreference.java | |
parent | e508dc25f2d3168f37fe5963fc99b0a034a3a298 (diff) | |
download | packages_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.java | 2 |
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; |