apkfuckery/com.discord/smali/androidx/media/AudioAttributesImplApi21Parcelizer.smali
2019-12-12 09:58:10 +01:00

75 lines
2.3 KiB
Smali

.class public final Landroidx/media/AudioAttributesImplApi21Parcelizer;
.super Ljava/lang/Object;
.source "AudioAttributesImplApi21Parcelizer.java"
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static read(Landroidx/versionedparcelable/VersionedParcel;)Landroidx/media/AudioAttributesImplApi21;
.locals 3
new-instance v0, Landroidx/media/AudioAttributesImplApi21;
invoke-direct {v0}, Landroidx/media/AudioAttributesImplApi21;-><init>()V
iget-object v1, v0, Landroidx/media/AudioAttributesImplApi21;->mAudioAttributes:Landroid/media/AudioAttributes;
const/4 v2, 0x1
invoke-virtual {p0, v1, v2}, Landroidx/versionedparcelable/VersionedParcel;->readParcelable(Landroid/os/Parcelable;I)Landroid/os/Parcelable;
move-result-object v1
check-cast v1, Landroid/media/AudioAttributes;
iput-object v1, v0, Landroidx/media/AudioAttributesImplApi21;->mAudioAttributes:Landroid/media/AudioAttributes;
iget v1, v0, Landroidx/media/AudioAttributesImplApi21;->mLegacyStreamType:I
const/4 v2, 0x2
invoke-virtual {p0, v1, v2}, Landroidx/versionedparcelable/VersionedParcel;->readInt(II)I
move-result p0
iput p0, v0, Landroidx/media/AudioAttributesImplApi21;->mLegacyStreamType:I
return-object v0
.end method
.method public static write(Landroidx/media/AudioAttributesImplApi21;Landroidx/versionedparcelable/VersionedParcel;)V
.locals 2
const/4 v0, 0x0
invoke-virtual {p1, v0, v0}, Landroidx/versionedparcelable/VersionedParcel;->setSerializationFlags(ZZ)V
iget-object v0, p0, Landroidx/media/AudioAttributesImplApi21;->mAudioAttributes:Landroid/media/AudioAttributes;
const/4 v1, 0x1
invoke-virtual {p1, v0, v1}, Landroidx/versionedparcelable/VersionedParcel;->writeParcelable(Landroid/os/Parcelable;I)V
iget p0, p0, Landroidx/media/AudioAttributesImplApi21;->mLegacyStreamType:I
const/4 v0, 0x2
invoke-virtual {p1, p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(II)V
return-void
.end method