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

Commit 01709166 authored by Chih-Chung Chang's avatar Chih-Chung Chang
Browse files

Unhide brightness constants to help unbundle Camera.

parent fd0c2dda
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
@@ -132579,6 +132579,39 @@
 visibility="public"
>
</field>
<field name="SCREEN_BRIGHTNESS_MODE"
 type="java.lang.String"
 transient="false"
 volatile="false"
 value="&quot;screen_brightness_mode&quot;"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="SCREEN_BRIGHTNESS_MODE_AUTOMATIC"
 type="int"
 transient="false"
 volatile="false"
 value="1"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="SCREEN_BRIGHTNESS_MODE_MANUAL"
 type="int"
 transient="false"
 volatile="false"
 value="0"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="SCREEN_OFF_TIMEOUT"
 type="java.lang.String"
 transient="false"
+0 −3
Original line number Diff line number Diff line
@@ -1130,19 +1130,16 @@ public final class Settings {

        /**
         * Control whether to enable automatic brightness mode.
         * @hide
         */
        public static final String SCREEN_BRIGHTNESS_MODE = "screen_brightness_mode";

        /**
         * SCREEN_BRIGHTNESS_MODE value for manual mode.
         * @hide
         */
        public static final int SCREEN_BRIGHTNESS_MODE_MANUAL = 0;

        /**
         * SCREEN_BRIGHTNESS_MODE value for manual mode.
         * @hide
         */
        public static final int SCREEN_BRIGHTNESS_MODE_AUTOMATIC = 1;