Merge "Make AudioState constructors public" into lmp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7257bd8b51
@@ -28813,6 +28813,8 @@ package android.system {
|
||||
package android.telecomm {
|
||||
|
||||
public final class AudioState implements android.os.Parcelable {
|
||||
ctor public AudioState(boolean, int, int);
|
||||
ctor public AudioState(android.telecomm.AudioState);
|
||||
method public int describeContents();
|
||||
method public void writeToParcel(android.os.Parcel, int);
|
||||
field public static final android.os.Parcelable.Creator CREATOR;
|
||||
|
||||
@@ -56,14 +56,12 @@ public final class AudioState implements Parcelable {
|
||||
/** Bit vector of all routes supported by this call. */
|
||||
public final int supportedRouteMask;
|
||||
|
||||
/** @hide */
|
||||
public AudioState(boolean isMuted, int route, int supportedRouteMask) {
|
||||
this.isMuted = isMuted;
|
||||
this.route = route;
|
||||
this.supportedRouteMask = supportedRouteMask;
|
||||
}
|
||||
|
||||
/** @hide */
|
||||
public AudioState(AudioState state) {
|
||||
isMuted = state.isMuted;
|
||||
route = state.route;
|
||||
|
||||
Reference in New Issue
Block a user