diff options
author | Svetoslav <svetoslavganov@google.com> | 2015-02-18 19:16:25 -0800 |
---|---|---|
committer | Svetoslav Ganov <svetoslavganov@google.com> | 2015-03-10 19:53:12 +0000 |
commit | dbbeeb3f44793798f129f25eb3e62f4cfe709d26 (patch) | |
tree | 297e13e6bfa7a52bbf3f4518317a4c66e2b43780 /api | |
parent | 5ca961673355622209fad00e75734ed861ecbce5 (diff) | |
download | frameworks_base-dbbeeb3f44793798f129f25eb3e62f4cfe709d26.zip frameworks_base-dbbeeb3f44793798f129f25eb3e62f4cfe709d26.tar.gz frameworks_base-dbbeeb3f44793798f129f25eb3e62f4cfe709d26.tar.bz2 |
Remove unused settings constants from the SDK (framework).
The settings constants for various volumes do nothing and are
used by nothing since API version 2. These are however backed
up in the cloud which is a waste of resource. This change
removes these constants from the SDK while keeping them hidden
to avoid breaking released apps and also prevents unnecessary
backup.
Change-Id: I2e91863115f5a4b997a14f8d0f57b4dc9689cfab
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 9 | ||||
-rw-r--r-- | api/removed.txt | 16 | ||||
-rw-r--r-- | api/system-current.txt | 9 | ||||
-rw-r--r-- | api/system-removed.txt | 16 |
4 files changed, 32 insertions, 18 deletions
diff --git a/api/current.txt b/api/current.txt index 489fd05..11db5c3 100644 --- a/api/current.txt +++ b/api/current.txt @@ -25931,7 +25931,6 @@ package android.provider { field public static final deprecated java.lang.String ALWAYS_FINISH_ACTIVITIES = "always_finish_activities"; field public static final deprecated java.lang.String ANDROID_ID = "android_id"; field public static final deprecated java.lang.String ANIMATOR_DURATION_SCALE = "animator_duration_scale"; - field public static final java.lang.String APPEND_FOR_LAST_AUDIBLE = "_last_audible"; field public static final deprecated java.lang.String AUTO_TIME = "auto_time"; field public static final deprecated java.lang.String AUTO_TIME_ZONE = "auto_time_zone"; field public static final java.lang.String BLUETOOTH_DISCOVERABILITY = "bluetooth_discoverability"; @@ -25994,14 +25993,6 @@ package android.provider { field public static final java.lang.String USER_ROTATION = "user_rotation"; field public static final deprecated java.lang.String USE_GOOGLE_MAIL = "use_google_mail"; field public static final java.lang.String VIBRATE_ON = "vibrate_on"; - field public static final java.lang.String VOLUME_ALARM = "volume_alarm"; - field public static final java.lang.String VOLUME_BLUETOOTH_SCO = "volume_bluetooth_sco"; - field public static final java.lang.String VOLUME_MUSIC = "volume_music"; - field public static final java.lang.String VOLUME_NOTIFICATION = "volume_notification"; - field public static final java.lang.String VOLUME_RING = "volume_ring"; - field public static final java.lang.String[] VOLUME_SETTINGS; - field public static final java.lang.String VOLUME_SYSTEM = "volume_system"; - field public static final java.lang.String VOLUME_VOICE = "volume_voice"; field public static final deprecated java.lang.String WAIT_FOR_DEBUGGER = "wait_for_debugger"; field public static final deprecated java.lang.String WALLPAPER_ACTIVITY = "wallpaper_activity"; field public static final deprecated java.lang.String WIFI_MAX_DHCP_RETRY_COUNT = "wifi_max_dhcp_retry_count"; diff --git a/api/removed.txt b/api/removed.txt index 8668a77..1b209a9 100644 --- a/api/removed.txt +++ b/api/removed.txt @@ -34,6 +34,22 @@ package android.os { } +package android.provider { + + public static final class Settings.System extends android.provider.Settings.NameValueTable { + field public static final java.lang.String APPEND_FOR_LAST_AUDIBLE = "_last_audible"; + field public static final java.lang.String VOLUME_ALARM = "volume_alarm"; + field public static final java.lang.String VOLUME_BLUETOOTH_SCO = "volume_bluetooth_sco"; + field public static final java.lang.String VOLUME_MUSIC = "volume_music"; + field public static final java.lang.String VOLUME_NOTIFICATION = "volume_notification"; + field public static final java.lang.String VOLUME_RING = "volume_ring"; + field public static final java.lang.String[] VOLUME_SETTINGS; + field public static final java.lang.String VOLUME_SYSTEM = "volume_system"; + field public static final java.lang.String VOLUME_VOICE = "volume_voice"; + } + +} + package android.text.format { public class DateFormat { diff --git a/api/system-current.txt b/api/system-current.txt index 7fa8d9b..da5986f 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -27537,7 +27537,6 @@ package android.provider { field public static final deprecated java.lang.String ALWAYS_FINISH_ACTIVITIES = "always_finish_activities"; field public static final deprecated java.lang.String ANDROID_ID = "android_id"; field public static final deprecated java.lang.String ANIMATOR_DURATION_SCALE = "animator_duration_scale"; - field public static final java.lang.String APPEND_FOR_LAST_AUDIBLE = "_last_audible"; field public static final deprecated java.lang.String AUTO_TIME = "auto_time"; field public static final deprecated java.lang.String AUTO_TIME_ZONE = "auto_time_zone"; field public static final java.lang.String BLUETOOTH_DISCOVERABILITY = "bluetooth_discoverability"; @@ -27600,14 +27599,6 @@ package android.provider { field public static final java.lang.String USER_ROTATION = "user_rotation"; field public static final deprecated java.lang.String USE_GOOGLE_MAIL = "use_google_mail"; field public static final java.lang.String VIBRATE_ON = "vibrate_on"; - field public static final java.lang.String VOLUME_ALARM = "volume_alarm"; - field public static final java.lang.String VOLUME_BLUETOOTH_SCO = "volume_bluetooth_sco"; - field public static final java.lang.String VOLUME_MUSIC = "volume_music"; - field public static final java.lang.String VOLUME_NOTIFICATION = "volume_notification"; - field public static final java.lang.String VOLUME_RING = "volume_ring"; - field public static final java.lang.String[] VOLUME_SETTINGS; - field public static final java.lang.String VOLUME_SYSTEM = "volume_system"; - field public static final java.lang.String VOLUME_VOICE = "volume_voice"; field public static final deprecated java.lang.String WAIT_FOR_DEBUGGER = "wait_for_debugger"; field public static final deprecated java.lang.String WALLPAPER_ACTIVITY = "wallpaper_activity"; field public static final deprecated java.lang.String WIFI_MAX_DHCP_RETRY_COUNT = "wifi_max_dhcp_retry_count"; diff --git a/api/system-removed.txt b/api/system-removed.txt index 8668a77..1b209a9 100644 --- a/api/system-removed.txt +++ b/api/system-removed.txt @@ -34,6 +34,22 @@ package android.os { } +package android.provider { + + public static final class Settings.System extends android.provider.Settings.NameValueTable { + field public static final java.lang.String APPEND_FOR_LAST_AUDIBLE = "_last_audible"; + field public static final java.lang.String VOLUME_ALARM = "volume_alarm"; + field public static final java.lang.String VOLUME_BLUETOOTH_SCO = "volume_bluetooth_sco"; + field public static final java.lang.String VOLUME_MUSIC = "volume_music"; + field public static final java.lang.String VOLUME_NOTIFICATION = "volume_notification"; + field public static final java.lang.String VOLUME_RING = "volume_ring"; + field public static final java.lang.String[] VOLUME_SETTINGS; + field public static final java.lang.String VOLUME_SYSTEM = "volume_system"; + field public static final java.lang.String VOLUME_VOICE = "volume_voice"; + } + +} + package android.text.format { public class DateFormat { |