cmsdk: launch default music player on headset connect [3/3]
Change-Id: Ibbb0607a56ab4d9246c14632eb4199558866854a
This commit is contained in:
parent
50cf885cca
commit
fcadbf539c
@ -815,6 +815,7 @@ package cyanogenmod.providers {
|
||||
field public static final java.lang.String ENABLE_PEOPLE_LOOKUP = "enable_people_lookup";
|
||||
field public static final java.lang.String ENABLE_REVERSE_LOOKUP = "enable_reverse_lookup";
|
||||
field public static final java.lang.String FORWARD_LOOKUP_PROVIDER = "forward_lookup_provider";
|
||||
field public static final java.lang.String HEADSET_CONNECT_PLAYER = "headset_connect_player";
|
||||
field public static final java.lang.String HIGH_TOUCH_SENSITIVITY_ENABLE = "high_touch_sensitivity_enable";
|
||||
field public static final java.lang.String HOME_WAKE_SCREEN = "home_wake_screen";
|
||||
field public static final java.lang.String INCREASING_RING = "increasing_ring";
|
||||
|
@ -1726,6 +1726,14 @@ public final class CMSettings {
|
||||
public static final Validator NOTIFICATION_LIGHT_COLOR_AUTO_VALIDATOR =
|
||||
sBooleanValidator;
|
||||
|
||||
/**
|
||||
* Whether or not to launch default music player when headset is connected
|
||||
*/
|
||||
public static final String HEADSET_CONNECT_PLAYER = "headset_connect_player";
|
||||
|
||||
/** @hide */
|
||||
public static final Validator HEADSET_CONNECT_PLAYER_VALIDATOR = sBooleanValidator;
|
||||
|
||||
/**
|
||||
* I can haz more bukkits
|
||||
* @hide
|
||||
@ -1829,6 +1837,7 @@ public final class CMSettings {
|
||||
CMSettings.System.STATUS_BAR_SHOW_BATTERY_PERCENT,
|
||||
CMSettings.System.VOLUME_KEYS_CONTROL_RING_STREAM,
|
||||
CMSettings.System.NAVIGATION_BAR_MENU_ARROW_KEYS,
|
||||
CMSettings.System.HEADSET_CONNECT_PLAYER,
|
||||
};
|
||||
|
||||
/**
|
||||
@ -1973,6 +1982,7 @@ public final class CMSettings {
|
||||
NOTIFICATION_LIGHT_PULSE_CUSTOM_VALUES_VALIDATOR);
|
||||
VALIDATORS.put(NOTIFICATION_LIGHT_COLOR_AUTO,
|
||||
NOTIFICATION_LIGHT_COLOR_AUTO_VALIDATOR);
|
||||
VALIDATORS.put(HEADSET_CONNECT_PLAYER, HEADSET_CONNECT_PLAYER_VALIDATOR);
|
||||
VALIDATORS.put(__MAGICAL_TEST_PASSING_ENABLER,
|
||||
__MAGICAL_TEST_PASSING_ENABLER_VALIDATOR);
|
||||
};
|
||||
|
@ -815,6 +815,7 @@ package cyanogenmod.providers {
|
||||
field public static final java.lang.String ENABLE_PEOPLE_LOOKUP = "enable_people_lookup";
|
||||
field public static final java.lang.String ENABLE_REVERSE_LOOKUP = "enable_reverse_lookup";
|
||||
field public static final java.lang.String FORWARD_LOOKUP_PROVIDER = "forward_lookup_provider";
|
||||
field public static final java.lang.String HEADSET_CONNECT_PLAYER = "headset_connect_player";
|
||||
field public static final java.lang.String HIGH_TOUCH_SENSITIVITY_ENABLE = "high_touch_sensitivity_enable";
|
||||
field public static final java.lang.String HOME_WAKE_SCREEN = "home_wake_screen";
|
||||
field public static final java.lang.String INCREASING_RING = "increasing_ring";
|
||||
|
Loading…
Reference in New Issue
Block a user