diff options
Diffstat (limited to 'packages/SystemUI/src')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java index e72a741..da47219 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java @@ -252,7 +252,7 @@ public class PhoneStatusBar extends StatusBar { void observe() { ContentResolver resolver = mContext.getContentResolver(); resolver.registerContentObserver(Settings.System.getUriFor( - Settings.System.STATUS_BAR_BRIGHTNESS_TOGGLE), false, this); + Settings.System.STATUS_BAR_BRIGHTNESS_CONTROL), false, this); resolver.registerContentObserver(Settings.System.getUriFor( Settings.System.SCREEN_BRIGHTNESS_MODE), false, this); update(); @@ -266,7 +266,7 @@ public class PhoneStatusBar extends StatusBar { public void update() { ContentResolver resolver = mContext.getContentResolver(); mBrightnessControl = Settings.System.getInt(resolver, - Settings.System.STATUS_BAR_BRIGHTNESS_TOGGLE, 0) != 0; + Settings.System.STATUS_BAR_BRIGHTNESS_CONTROL, 0) != 0; mAutoBrightness = Settings.System.getInt(resolver, Settings.System.SCREEN_BRIGHTNESS_MODE, 0) == Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC; |