57 lines
1.9 KiB
Java
57 lines
1.9 KiB
Java
package android.support.v4.media.session;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class ParcelableVolumeInfo implements Parcelable {
|
|
public static final Parcelable.Creator<ParcelableVolumeInfo> CREATOR = new Parcelable.Creator<ParcelableVolumeInfo>() { // from class: android.support.v4.media.session.ParcelableVolumeInfo.1
|
|
/* JADX WARN: Can't rename method to resolve collision */
|
|
@Override // android.os.Parcelable.Creator
|
|
public ParcelableVolumeInfo createFromParcel(Parcel parcel) {
|
|
return new ParcelableVolumeInfo(parcel);
|
|
}
|
|
|
|
/* JADX WARN: Can't rename method to resolve collision */
|
|
@Override // android.os.Parcelable.Creator
|
|
public ParcelableVolumeInfo[] newArray(int i) {
|
|
return new ParcelableVolumeInfo[i];
|
|
}
|
|
};
|
|
public int audioStream;
|
|
public int controlType;
|
|
public int currentVolume;
|
|
public int maxVolume;
|
|
public int volumeType;
|
|
|
|
public ParcelableVolumeInfo(int i, int i2, int i3, int i4, int i5) {
|
|
this.volumeType = i;
|
|
this.audioStream = i2;
|
|
this.controlType = i3;
|
|
this.maxVolume = i4;
|
|
this.currentVolume = i5;
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public int describeContents() {
|
|
return 0;
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public void writeToParcel(Parcel parcel, int i) {
|
|
parcel.writeInt(this.volumeType);
|
|
parcel.writeInt(this.controlType);
|
|
parcel.writeInt(this.maxVolume);
|
|
parcel.writeInt(this.currentVolume);
|
|
parcel.writeInt(this.audioStream);
|
|
}
|
|
|
|
public ParcelableVolumeInfo(Parcel parcel) {
|
|
this.volumeType = parcel.readInt();
|
|
this.controlType = parcel.readInt();
|
|
this.maxVolume = parcel.readInt();
|
|
this.currentVolume = parcel.readInt();
|
|
this.audioStream = parcel.readInt();
|
|
}
|
|
}
|