Update references to PowerManager constants that have moved.

Bug: 6435382
Change-Id: Ieea857644dc0cf758e0ff4fd595c6a0115457df0
This commit is contained in:
Jeff Brown
2012-05-11 18:39:30 -07:00
parent e508dc25f2
commit defcb0060d
2 changed files with 4 additions and 4 deletions

View File

@@ -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;