118 lines
3.3 KiB
Smali
118 lines
3.3 KiB
Smali
|
.class public Landroidx/versionedparcelable/ParcelImpl;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "ParcelImpl.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Landroid/os/Parcelable;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation build Landroid/annotation/SuppressLint;
|
||
|
value = {
|
||
|
"BanParcelableUsage"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.annotation build Landroidx/annotation/RestrictTo;
|
||
|
value = {
|
||
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Landroid/os/Parcelable$Creator<",
|
||
|
"Landroidx/versionedparcelable/ParcelImpl;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final mParcel:Landroidx/versionedparcelable/VersionedParcelable;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public static constructor <clinit>()V
|
||
|
.locals 1
|
||
|
|
||
|
new-instance v0, Landroidx/versionedparcelable/ParcelImpl$1;
|
||
|
|
||
|
invoke-direct {v0}, Landroidx/versionedparcelable/ParcelImpl$1;-><init>()V
|
||
|
|
||
|
sput-object v0, Landroidx/versionedparcelable/ParcelImpl;->CREATOR:Landroid/os/Parcelable$Creator;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public constructor <init>(Landroid/os/Parcel;)V
|
||
|
.locals 1
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
new-instance v0, Landroidx/versionedparcelable/VersionedParcelParcel;
|
||
|
|
||
|
invoke-direct {v0, p1}, Landroidx/versionedparcelable/VersionedParcelParcel;-><init>(Landroid/os/Parcel;)V
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/versionedparcelable/VersionedParcel;->readVersionedParcelable()Landroidx/versionedparcelable/VersionedParcelable;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
iput-object p1, p0, Landroidx/versionedparcelable/ParcelImpl;->mParcel:Landroidx/versionedparcelable/VersionedParcelable;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public constructor <init>(Landroidx/versionedparcelable/VersionedParcelable;)V
|
||
|
.locals 0
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
iput-object p1, p0, Landroidx/versionedparcelable/ParcelImpl;->mParcel:Landroidx/versionedparcelable/VersionedParcelable;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public describeContents()I
|
||
|
.locals 1
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public getVersionedParcel()Landroidx/versionedparcelable/VersionedParcelable;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T::",
|
||
|
"Landroidx/versionedparcelable/VersionedParcelable;",
|
||
|
">()TT;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
iget-object v0, p0, Landroidx/versionedparcelable/ParcelImpl;->mParcel:Landroidx/versionedparcelable/VersionedParcelable;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public writeToParcel(Landroid/os/Parcel;I)V
|
||
|
.locals 0
|
||
|
|
||
|
new-instance p2, Landroidx/versionedparcelable/VersionedParcelParcel;
|
||
|
|
||
|
invoke-direct {p2, p1}, Landroidx/versionedparcelable/VersionedParcelParcel;-><init>(Landroid/os/Parcel;)V
|
||
|
|
||
|
iget-object p1, p0, Landroidx/versionedparcelable/ParcelImpl;->mParcel:Landroidx/versionedparcelable/VersionedParcelable;
|
||
|
|
||
|
invoke-virtual {p2, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeVersionedParcelable(Landroidx/versionedparcelable/VersionedParcelable;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|