apkfuckery/com.discord/smali/androidx/media/AudioAttributesCompatParcelizer.smali
2019-02-04 21:08:30 +01:00

58 lines
1.8 KiB
Smali

.class public final Landroidx/media/AudioAttributesCompatParcelizer;
.super Ljava/lang/Object;
# 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/AudioAttributesCompat;
.locals 3
new-instance v0, Landroidx/media/AudioAttributesCompat;
invoke-direct {v0}, Landroidx/media/AudioAttributesCompat;-><init>()V
iget-object v1, v0, Landroidx/media/AudioAttributesCompat;->mImpl:Landroidx/media/AudioAttributesImpl;
const/4 v2, 0x1
invoke-virtual {p0, v1, v2}, Landroidx/versionedparcelable/VersionedParcel;->readVersionedParcelable(Landroidx/versionedparcelable/VersionedParcelable;I)Landroidx/versionedparcelable/VersionedParcelable;
move-result-object p0
check-cast p0, Landroidx/media/AudioAttributesImpl;
iput-object p0, v0, Landroidx/media/AudioAttributesCompat;->mImpl:Landroidx/media/AudioAttributesImpl;
return-object v0
.end method
.method public static write(Landroidx/media/AudioAttributesCompat;Landroidx/versionedparcelable/VersionedParcel;)V
.locals 1
const/4 v0, 0x0
invoke-virtual {p1, v0, v0}, Landroidx/versionedparcelable/VersionedParcel;->setSerializationFlags(ZZ)V
iget-object p0, p0, Landroidx/media/AudioAttributesCompat;->mImpl:Landroidx/media/AudioAttributesImpl;
const/4 v0, 0x1
invoke-virtual {p1, p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeVersionedParcelable(Landroidx/versionedparcelable/VersionedParcelable;I)V
return-void
.end method