Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4dd642f0 authored by Fiona Campbell's avatar Fiona Campbell
Browse files

Improve Screen_brightness documentation

- document screen_brightness, such that it is clear that the range is
  from 1 to 255.
- document screen_brightness_mode_automatic, such that it is clear this
  affects screen_brightness

Bug: 331750107
Flag: EXEMPT documentation fixes only
Test: builds

Change-Id: I9e41edbbb3c0163f6a2529d88ff6947e9fbf74b2
parent 61dfb4a0
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -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";