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

Commit 29f04d64 authored by Michael Bestas's avatar Michael Bestas Committed by Gerrit Code Review
Browse files

Cleanup deprecated settings

Change-Id: I2a75f5bece7694cf11c00fcf00ab507eda547893
parent 8fdf78cc
Loading
Loading
Loading
Loading
+27 −19
Original line number Original line Diff line number Diff line
@@ -2137,54 +2137,62 @@ public final class Settings {
        /**
        /**
         * The keyboard brightness to be used while the screen is on.
         * The keyboard brightness to be used while the screen is on.
         * Valid value range is between 0 and {@link PowerManager#getMaximumKeyboardBrightness()}
         * Valid value range is between 0 and {@link PowerManager#getMaximumKeyboardBrightness()}
         * @deprecated
         * @deprecated Use {@link android.provider.Settings.Secure#KEYBOARD_BRIGHTNESS} instead
         * @hide
         * @hide
         */
         */
        @Deprecated
        public static final String KEYBOARD_BRIGHTNESS = Secure.KEYBOARD_BRIGHTNESS;
        public static final String KEYBOARD_BRIGHTNESS = Secure.KEYBOARD_BRIGHTNESS;


        /**
        /**
         * The button brightness to be used while the screen is on or after a button press,
         * The button brightness to be used while the screen is on or after a button press,
         * depending on the value of {@link BUTTON_BACKLIGHT_TIMEOUT}.
         * depending on the value of {@link BUTTON_BACKLIGHT_TIMEOUT}.
         * Valid value range is between 0 and {@link PowerManager#getMaximumButtonBrightness()}
         * Valid value range is between 0 and {@link PowerManager#getMaximumButtonBrightness()}
         * @deprecated
         * @deprecated Use {@link android.provider.Settings.Secure#BUTTON_BRIGHTNESS} instead
         * @hide
         * @hide
         */
         */
        @Deprecated
        public static final String BUTTON_BRIGHTNESS = Secure.BUTTON_BRIGHTNESS;
        public static final String BUTTON_BRIGHTNESS = Secure.BUTTON_BRIGHTNESS;


        /**
        /**
         * The time in ms to keep the button backlight on after pressing a button.
         * The time in ms to keep the button backlight on after pressing a button.
         * A value of 0 will keep the buttons on for as long as the screen is on.
         * A value of 0 will keep the buttons on for as long as the screen is on.
         * @deprecated
         * @deprecated Use {@link android.provider.Settings.Secure#BUTTON_BACKLIGHT_TIMEOUT} instead
         * @hide
         * @hide
         */
         */
        @Deprecated
        public static final String BUTTON_BACKLIGHT_TIMEOUT = Secure.BUTTON_BACKLIGHT_TIMEOUT;
        public static final String BUTTON_BACKLIGHT_TIMEOUT = Secure.BUTTON_BACKLIGHT_TIMEOUT;


        /** Whether to allow one finger quick settings expansion on the right side of the statusbar.
        /**
         *
         * Whether to allow one finger quick settings expansion on the right side of the statusbar.
         * @hide
         * @hide
         */
         */
        public static final String STATUS_BAR_QUICK_QS_PULLDOWN = "status_bar_quick_qs_pulldown";
        public static final String STATUS_BAR_QUICK_QS_PULLDOWN = "status_bar_quick_qs_pulldown";


        /** Whether to show the brightness slider in quick settings panel.
        /**
         *
         * Whether to show the brightness slider in quick settings panel.
         * @deprecated Use {@link android.provider.Settings.Secure#QS_SHOW_BRIGHTNESS_SLIDER}
         * instead
         * @hide
         * @hide
         */
         */
        @Deprecated
        @Deprecated
        public static final String QS_SHOW_BRIGHTNESS_SLIDER = "qs_show_brightness_slider";
        public static final String QS_SHOW_BRIGHTNESS_SLIDER = Secure.QS_SHOW_BRIGHTNESS_SLIDER;


        /**
        /**
         * Deprecated Use {@link android.provider.Settings.Secure.QS_TILES}
         * List of QS tile names
         * @deprecated Use {@link android.provider.Settings.Secure#QS_TILES} instead
         * @hide
         * @hide
         */
         */
        @Deprecated
        @Deprecated
        public static final String QS_TILES = "sysui_qs_tiles";
        public static final String QS_TILES = Secure.QS_TILES;


        /**
        /**
         * Deprecated Use {@link android.provider.Settings.Secure.QS_USE_MAIN_TILES}
         * Use "main" tiles on the first row of the quick settings panel
         * 0 = no, 1 = yes
         * @deprecated Use {@link android.provider.Settings.Secure#QS_USE_MAIN_TILES} instead
         * @hide
         * @hide
         */
         */
        @Deprecated
        @Deprecated
        public static final String QS_USE_MAIN_TILES = "sysui_qs_main_tiles";
        public static final String QS_USE_MAIN_TILES = Secure.QS_USE_MAIN_TILES;


        /**
        /**
         * Control whether the process CPU usage meter should be shown.
         * Control whether the process CPU usage meter should be shown.
@@ -2604,12 +2612,12 @@ public final class Settings {


        /**
        /**
         * Developer options - Navigation Bar show switch
         * Developer options - Navigation Bar show switch
        * @deprecated
         * @deprecated Use {@link android.provider.Settings.Secure#DEV_FORCE_SHOW_NAVBAR} instead
         * @hide
         * @hide
         */
         */
        @Deprecated
        public static final String DEV_FORCE_SHOW_NAVBAR = Secure.DEV_FORCE_SHOW_NAVBAR;
        public static final String DEV_FORCE_SHOW_NAVBAR = Secure.DEV_FORCE_SHOW_NAVBAR;



        /**
        /**
         * Date format string
         * Date format string
         *   mm/dd/yyyy
         *   mm/dd/yyyy
@@ -5819,8 +5827,8 @@ public final class Settings {
         */
         */
        public static final String APP_PERFORMANCE_PROFILES_ENABLED = "app_perf_profiles_enabled";
        public static final String APP_PERFORMANCE_PROFILES_ENABLED = "app_perf_profiles_enabled";


        /** Whether to show the brightness slider in quick settings panel.
        /**
         *
         * Whether to show the brightness slider in quick settings panel.
         * @hide
         * @hide
         */
         */
        public static final String QS_SHOW_BRIGHTNESS_SLIDER = "qs_show_brightness_slider";
        public static final String QS_SHOW_BRIGHTNESS_SLIDER = "qs_show_brightness_slider";