diff options
author | d34d <clark@cyngn.com> | 2015-11-12 12:55:23 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2015-11-12 18:03:00 -0800 |
commit | a16992359a19dd3fd9cc921edc981c8966556e1b (patch) | |
tree | f1bfd39a233af3e053eb09daa48c4185379c4e88 /core/java/android/provider/Settings.java | |
parent | 11feb561aa1b34263ce200d696a02c0e6f8234a5 (diff) | |
download | frameworks_base-a16992359a19dd3fd9cc921edc981c8966556e1b.zip frameworks_base-a16992359a19dd3fd9cc921edc981c8966556e1b.tar.gz frameworks_base-a16992359a19dd3fd9cc921edc981c8966556e1b.tar.bz2 |
fw: Move Global settings to CMSettings
This moves all Settings.Global.* settings, that were added to
CyanogenMod and not used in boot classpath, to CMSettings.
* WAKE_WHEN_PLUGGED_OR_UNPLUGGED
* BLUETOOTH_A2DP_SRC_PRIORITY_PREFIX
* POWER_NOTIFICATIONS_ENABLED
* POWER_NOTIFICATIONS_VIBRATE
* POWER_NOTIFICATIONS_RINGTONE
* ZEN_DISABLE_DUCKING_DURING_MEDIA_PLAYBACK
* WIFI_AUTO_PRIORITIES_CONFIGURATION
Change-Id: I5a23971b278d150c633d2b4ade49a143c4423c26
Diffstat (limited to 'core/java/android/provider/Settings.java')
-rw-r--r-- | core/java/android/provider/Settings.java | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index e914aa9..9f32eed 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -6464,13 +6464,6 @@ public final class Settings { public static final String BUGREPORT_IN_POWER_MENU = "bugreport_in_power_menu"; /** - * 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"; - - /** * Whether ADB is enabled. */ public static final String ADB_ENABLED = "adb_enabled"; @@ -7541,9 +7534,6 @@ public final class Settings { BLUETOOTH_A2DP_SINK_PRIORITY_PREFIX = "bluetooth_a2dp_sink_priority_"; /** {@hide} */ public static final String - BLUETOOTH_A2DP_SRC_PRIORITY_PREFIX = "bluetooth_a2dp_src_priority_"; - /** {@hide} */ - public static final String BLUETOOTH_INPUT_DEVICE_PRIORITY_PREFIX = "bluetooth_input_device_priority_"; /** {@hide} */ public static final String @@ -7644,14 +7634,6 @@ public final class Settings { } /** - * 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); - } - - /** * Get the key that retrieves a bluetooth Input Device's priority. * @hide */ @@ -7763,24 +7745,6 @@ public final class Settings { */ public static final String LOW_POWER_MODE_TRIGGER_LEVEL = "low_power_trigger_level"; - /** - * 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"; - /** * If 1, the activity manager will aggressively finish activities and * processes as soon as they are no longer needed. If 0, the normal @@ -7907,12 +7871,6 @@ public final class Settings { public static final String POLICY_CONTROL = "policy_control"; /** - * @hide - */ - public static final String ZEN_DISABLE_DUCKING_DURING_MEDIA_PLAYBACK = - "zen_disable_ducking_during_media_playback"; - - /** * Defines global runtime overrides to window policy style. * * See {@link android.view.WindowManagerPolicyControl} for value definitions. @@ -8064,14 +8022,6 @@ public final class Settings { public static final String LTE_SERVICE_FORCED = "lte_service_forced"; /** - * 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"; - - /** * Settings to backup. This is here so that it's in the same place as the settings * keys and easy to update. * @@ -8090,7 +8040,6 @@ public final class Settings { public static final String[] SETTINGS_TO_BACKUP = { BUGREPORT_IN_POWER_MENU, STAY_ON_WHILE_PLUGGED_IN, - WAKE_WHEN_PLUGGED_OR_UNPLUGGED, AUTO_TIME, AUTO_TIME_ZONE, POWER_SOUNDS_ENABLED, |