Remove android.media.AudioFormat default constructor
Change-Id: I2fe65ee7a8087151b44da3b84af357ea8bee80c4
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
package android.media {
|
||||
|
||||
public class AudioFormat {
|
||||
ctor public AudioFormat();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -156,4 +156,10 @@ public class AudioFormat {
|
||||
}
|
||||
}
|
||||
|
||||
/** @removed */
|
||||
public AudioFormat()
|
||||
{
|
||||
throw new UnsupportedOperationException("There is no valid usage of this constructor");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user