diff options
author | Glenn Kasten <gkasten@google.com> | 2014-05-19 10:11:19 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2014-05-22 17:13:06 -0700 |
commit | 1aa74e4bc24cbe014f0c4217761a9d5e082111c6 (patch) | |
tree | e09e407447486e595337e182b4c2d241ae3da2a7 | |
parent | 6b7b34849a19aff673690f368b85b0c394b31b53 (diff) | |
download | frameworks_base-1aa74e4bc24cbe014f0c4217761a9d5e082111c6.zip frameworks_base-1aa74e4bc24cbe014f0c4217761a9d5e082111c6.tar.gz frameworks_base-1aa74e4bc24cbe014f0c4217761a9d5e082111c6.tar.bz2 |
Remove android.media.AudioFormat default constructor
Change-Id: I2fe65ee7a8087151b44da3b84af357ea8bee80c4
-rw-r--r-- | api/current.txt | 1 | ||||
-rw-r--r-- | api/removed.txt | 8 | ||||
-rw-r--r-- | media/java/android/media/AudioFormat.java | 6 |
3 files changed, 14 insertions, 1 deletions
diff --git a/api/current.txt b/api/current.txt index dff8c5f..b729c48 100644 --- a/api/current.txt +++ b/api/current.txt @@ -13778,7 +13778,6 @@ package android.media { } public class AudioFormat { - ctor public AudioFormat(); field public static final deprecated int CHANNEL_CONFIGURATION_DEFAULT = 1; // 0x1 field public static final deprecated int CHANNEL_CONFIGURATION_INVALID = 0; // 0x0 field public static final deprecated int CHANNEL_CONFIGURATION_MONO = 2; // 0x2 diff --git a/api/removed.txt b/api/removed.txt index e69de29..458c422 100644 --- a/api/removed.txt +++ b/api/removed.txt @@ -0,0 +1,8 @@ +package android.media { + + public class AudioFormat { + ctor public AudioFormat(); + } + +} + diff --git a/media/java/android/media/AudioFormat.java b/media/java/android/media/AudioFormat.java index 57274ee..b07d2c5 100644 --- a/media/java/android/media/AudioFormat.java +++ b/media/java/android/media/AudioFormat.java @@ -156,4 +156,10 @@ public class AudioFormat { } } + /** @removed */ + public AudioFormat() + { + throw new UnsupportedOperationException("There is no valid usage of this constructor"); + } + } |