diff options
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/cyanogenmod/providers/CMSettings.java | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/src/java/cyanogenmod/providers/CMSettings.java b/src/java/cyanogenmod/providers/CMSettings.java index 0092700..3318037 100644 --- a/src/java/cyanogenmod/providers/CMSettings.java +++ b/src/java/cyanogenmod/providers/CMSettings.java @@ -32,6 +32,7 @@ import android.util.Log; import java.util.ArrayList; import java.util.HashMap; import java.util.List; +import java.util.Locale; import java.util.regex.Pattern; /** @@ -2223,10 +2224,59 @@ public final class CMSettings { return putStringForUser(cr, name, Float.toString(value), userId); } + /** + * Get the key that retrieves a bluetooth a2dp src's priority. + * @hide + */ + public static final String getBluetoothA2dpSrcPriorityKey(String address) { + return BLUETOOTH_A2DP_SRC_PRIORITY_PREFIX + address.toUpperCase(Locale.ROOT); + } // endregion // region Global Settings + /** + * Whether to wake the display when plugging or unplugging the charger + * + * @hide + */ + public static final String WAKE_WHEN_PLUGGED_OR_UNPLUGGED = + "wake_when_plugged_or_unplugged"; + + /** {@hide} */ + public static final String + BLUETOOTH_A2DP_SRC_PRIORITY_PREFIX = "bluetooth_a2dp_src_priority_"; + + /** + * Whether to sound when charger power is connected/disconnected + * @hide + */ + public static final String POWER_NOTIFICATIONS_ENABLED = "power_notifications_enabled"; + + /** + * Whether to vibrate when charger power is connected/disconnected + * @hide + */ + public static final String POWER_NOTIFICATIONS_VIBRATE = "power_notifications_vibrate"; + + /** + * URI for power notification sounds + * @hide + */ + public static final String POWER_NOTIFICATIONS_RINGTONE = "power_notifications_ringtone"; + /** + * @hide + */ + public static final String ZEN_DISABLE_DUCKING_DURING_MEDIA_PLAYBACK = + "zen_disable_ducking_during_media_playback"; + + /** + * Whether the system auto-configure the priority of the wifi ap's or use + * the manual settings established by the user. + * <> 0 to autoconfigure, 0 to manual settings. Default is <> 0. + * @hide + */ + public static final String WIFI_AUTO_PRIORITIES_CONFIGURATION = "wifi_auto_priority"; // endregion } } |