Remove android.media.AudioFormat default constructor

Change-Id: I2fe65ee7a8087151b44da3b84af357ea8bee80c4
This commit is contained in:
Glenn Kasten
2014-05-19 10:11:19 -07:00
parent 6b7b34849a
commit 1aa74e4bc2
3 changed files with 14 additions and 1 deletions

View File

@@ -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

View File

@@ -0,0 +1,8 @@
package android.media {
public class AudioFormat {
ctor public AudioFormat();
}
}

View File

@@ -156,4 +156,10 @@ public class AudioFormat {
}
}
/** @removed */
public AudioFormat()
{
throw new UnsupportedOperationException("There is no valid usage of this constructor");
}
}