Loading core/java/android/provider/Settings.java +8 −2 Original line number Diff line number Diff line Loading @@ -5150,13 +5150,19 @@ public final class Settings { public static final String SCREEN_OFF_TIMEOUT = "screen_off_timeout"; /** * The screen backlight brightness between 0 and 255. * The screen backlight brightness between 1 (minimum) and 255 (maximum). * * Use {@link android.view.WindowManager.LayoutParams#screenBrightness} to set the screen * brightness instead. */ @Readable public static final String SCREEN_BRIGHTNESS = "screen_brightness"; /** * Control whether to enable automatic brightness mode. * Controls whether to enable automatic brightness mode. Value can be set to * {@link #SCREEN_BRIGHTNESS_MODE_MANUAL} or {@link #SCREEN_BRIGHTNESS_MODE_AUTOMATIC}. * If {@link #SCREEN_BRIGHTNESS_MODE_AUTOMATIC} is set, the system may change * {@link #SCREEN_BRIGHTNESS} automatically. */ @Readable public static final String SCREEN_BRIGHTNESS_MODE = "screen_brightness_mode"; Loading Loading
core/java/android/provider/Settings.java +8 −2 Original line number Diff line number Diff line Loading @@ -5150,13 +5150,19 @@ public final class Settings { public static final String SCREEN_OFF_TIMEOUT = "screen_off_timeout"; /** * The screen backlight brightness between 0 and 255. * The screen backlight brightness between 1 (minimum) and 255 (maximum). * * Use {@link android.view.WindowManager.LayoutParams#screenBrightness} to set the screen * brightness instead. */ @Readable public static final String SCREEN_BRIGHTNESS = "screen_brightness"; /** * Control whether to enable automatic brightness mode. * Controls whether to enable automatic brightness mode. Value can be set to * {@link #SCREEN_BRIGHTNESS_MODE_MANUAL} or {@link #SCREEN_BRIGHTNESS_MODE_AUTOMATIC}. * If {@link #SCREEN_BRIGHTNESS_MODE_AUTOMATIC} is set, the system may change * {@link #SCREEN_BRIGHTNESS} automatically. */ @Readable public static final String SCREEN_BRIGHTNESS_MODE = "screen_brightness_mode"; Loading