22 lines
1.1 KiB
Java
22 lines
1.1 KiB
Java
package androidx.media;
|
|
|
|
import android.media.AudioAttributes;
|
|
import androidx.annotation.RestrictTo;
|
|
import androidx.versionedparcelable.VersionedParcel;
|
|
@RestrictTo({RestrictTo.Scope.LIBRARY})
|
|
/* loaded from: classes.dex */
|
|
public class AudioAttributesImplApi26Parcelizer {
|
|
public static AudioAttributesImplApi26 read(VersionedParcel versionedParcel) {
|
|
AudioAttributesImplApi26 audioAttributesImplApi26 = new AudioAttributesImplApi26();
|
|
audioAttributesImplApi26.mAudioAttributes = (AudioAttributes) versionedParcel.readParcelable(audioAttributesImplApi26.mAudioAttributes, 1);
|
|
audioAttributesImplApi26.mLegacyStreamType = versionedParcel.readInt(audioAttributesImplApi26.mLegacyStreamType, 2);
|
|
return audioAttributesImplApi26;
|
|
}
|
|
|
|
public static void write(AudioAttributesImplApi26 audioAttributesImplApi26, VersionedParcel versionedParcel) {
|
|
versionedParcel.setSerializationFlags(false, false);
|
|
versionedParcel.writeParcelable(audioAttributesImplApi26.mAudioAttributes, 1);
|
|
versionedParcel.writeInt(audioAttributesImplApi26.mLegacyStreamType, 2);
|
|
}
|
|
}
|