cmsdk: Deprecate POWER_NOTIFICATIONS_ENABLED setting

* We will reuse AOSP CHARGING_SOUNDS_ENABLED

Change-Id: I930ed41dd90f6dd1440ada5bf5b926467d683a46
This commit is contained in:
Michael Bestas 2016-02-10 02:45:16 +02:00 committed by Gerrit Code Review
parent 5c7be898cb
commit 50cf885cca

View File

@ -3107,7 +3107,9 @@ public final class CMSettings {
/** /**
* Whether to sound when charger power is connected/disconnected * Whether to sound when charger power is connected/disconnected
* @hide * @hide
* @deprecated Use {@link android.provider.Settings.Global#CHARGING_SOUNDS_ENABLED} instead
*/ */
@Deprecated
public static final String POWER_NOTIFICATIONS_ENABLED = "power_notifications_enabled"; public static final String POWER_NOTIFICATIONS_ENABLED = "power_notifications_enabled";
/** /**
@ -3142,11 +3144,11 @@ public final class CMSettings {
*/ */
public static final String[] LEGACY_GLOBAL_SETTINGS = new String[]{ public static final String[] LEGACY_GLOBAL_SETTINGS = new String[]{
CMSettings.Global.WAKE_WHEN_PLUGGED_OR_UNPLUGGED, CMSettings.Global.WAKE_WHEN_PLUGGED_OR_UNPLUGGED,
CMSettings.Global.POWER_NOTIFICATIONS_ENABLED,
CMSettings.Global.POWER_NOTIFICATIONS_VIBRATE, CMSettings.Global.POWER_NOTIFICATIONS_VIBRATE,
CMSettings.Global.POWER_NOTIFICATIONS_RINGTONE, CMSettings.Global.POWER_NOTIFICATIONS_RINGTONE,
CMSettings.Global.ZEN_DISABLE_DUCKING_DURING_MEDIA_PLAYBACK, CMSettings.Global.ZEN_DISABLE_DUCKING_DURING_MEDIA_PLAYBACK,
CMSettings.Global.WIFI_AUTO_PRIORITIES_CONFIGURATION}; CMSettings.Global.WIFI_AUTO_PRIORITIES_CONFIGURATION
};
/** /**
* @hide * @hide