CMSettings: fix lock screen rotation toggle [3/3]

Change-Id: I2940663c7476b0df9b3553a480fa33ea4f18a5bc
This commit is contained in:
Dan Pasanen 2016-05-11 10:20:57 -05:00 committed by Gerrit Code Review
parent ee069f8c81
commit c4becbb3f4
4 changed files with 20 additions and 0 deletions

View File

@ -972,6 +972,7 @@ package cyanogenmod.providers {
field public static final java.lang.String QS_SHOW_BRIGHTNESS_SLIDER = "qs_show_brightness_slider";
field public static final java.lang.String RECENTS_SHOW_SEARCH_BAR = "recents_show_search_bar";
field public static final java.lang.String REVERSE_LOOKUP_PROVIDER = "reverse_lookup_provider";
field public static final java.lang.String LOCKSCREEN_ROTATION = "lockscreen_rotation";
field public static final java.lang.String SHOW_ALARM_ICON = "show_alarm_icon";
field public static final java.lang.String STATUS_BAR_AM_PM = "status_bar_am_pm";
field public static final java.lang.String STATUS_BAR_BATTERY_STYLE = "status_bar_battery_style";

View File

@ -476,6 +476,12 @@ public final class CMSettings {
public static final String LOCKSCREEN_PIN_SCRAMBLE_LAYOUT =
"lockscreen_scramble_pin_layout";
/**
* Whether keyguard will rotate to landscape mode
* @hide
*/
public static final String LOCKSCREEN_ROTATION = "lockscreen_rotation";
/**
* @hide
*/
@ -685,6 +691,7 @@ public final class CMSettings {
CMSettings.System.T9_SEARCH_INPUT_LOCALE,
CMSettings.System.BLUETOOTH_ACCEPT_ALL_FILES,
CMSettings.System.LOCKSCREEN_PIN_SCRAMBLE_LAYOUT,
CMSettings.System.LOCKSCREEN_ROTATION,
CMSettings.System.SHOW_ALARM_ICON,
CMSettings.System.STATUS_BAR_IME_SWITCHER,
CMSettings.System.QS_SHOW_BRIGHTNESS_SLIDER,

View File

@ -1486,6 +1486,16 @@ public final class CMSettings {
public static final Validator LOCKSCREEN_PIN_SCRAMBLE_LAYOUT_VALIDATOR =
sBooleanValidator;
/**
* Whether keyguard will rotate to landscape mode
* 0 = false, 1 = true
*/
public static final String LOCKSCREEN_ROTATION = "lockscreen_rotation";
/** @hide */
public static final Validator LOCKSCREEN_ROTATION_VALIDATOR =
sBooleanValidator;
/**
* Whether to show the alarm clock icon in the status bar.
* 0 = 0ff, 1 = on
@ -2029,6 +2039,7 @@ public final class CMSettings {
VALIDATORS.put(BLUETOOTH_ACCEPT_ALL_FILES, BLUETOOTH_ACCEPT_ALL_FILES_VALIDATOR);
VALIDATORS.put(LOCKSCREEN_PIN_SCRAMBLE_LAYOUT,
LOCKSCREEN_PIN_SCRAMBLE_LAYOUT_VALIDATOR);
VALIDATORS.put(LOCKSCREEN_ROTATION, LOCKSCREEN_ROTATION_VALIDATOR);
VALIDATORS.put(SHOW_ALARM_ICON, SHOW_ALARM_ICON_VALIDATOR);
VALIDATORS.put(STATUS_BAR_IME_SWITCHER, STATUS_BAR_IME_SWITCHER_VALIDATOR);
VALIDATORS.put(STATUS_BAR_QUICK_QS_PULLDOWN,

View File

@ -972,6 +972,7 @@ package cyanogenmod.providers {
field public static final java.lang.String QS_SHOW_BRIGHTNESS_SLIDER = "qs_show_brightness_slider";
field public static final java.lang.String RECENTS_SHOW_SEARCH_BAR = "recents_show_search_bar";
field public static final java.lang.String REVERSE_LOOKUP_PROVIDER = "reverse_lookup_provider";
field public static final java.lang.String LOCKSCREEN_ROTATION = "lockscreen_rotation";
field public static final java.lang.String SHOW_ALARM_ICON = "show_alarm_icon";
field public static final java.lang.String STATUS_BAR_AM_PM = "status_bar_am_pm";
field public static final java.lang.String STATUS_BAR_BATTERY_STYLE = "status_bar_battery_style";