mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
130 lines
3.9 KiB
Smali
130 lines
3.9 KiB
Smali
.class public final Landroidx/savedstate/Recreator$SavedStateProvider;
|
|
.super Ljava/lang/Object;
|
|
.source "Recreator.kt"
|
|
|
|
# interfaces
|
|
.implements Landroidx/savedstate/SavedStateRegistry$SavedStateProvider;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/savedstate/Recreator;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "SavedStateProvider"
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000*\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010#\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\u0008\u0000\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004J\u000e\u0010\u0008\u001a\u00020\t2\u0006\u0010\n\u001a\u00020\u0007J\u0008\u0010\u000b\u001a\u00020\u000cH\u0016R\u0014\u0010\u0005\u001a\u0008\u0012\u0004\u0012\u00020\u00070\u0006X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\r"
|
|
}
|
|
d2 = {
|
|
"Landroidx/savedstate/Recreator$SavedStateProvider;",
|
|
"Landroidx/savedstate/SavedStateRegistry$SavedStateProvider;",
|
|
"registry",
|
|
"Landroidx/savedstate/SavedStateRegistry;",
|
|
"(Landroidx/savedstate/SavedStateRegistry;)V",
|
|
"classes",
|
|
"",
|
|
"",
|
|
"add",
|
|
"",
|
|
"className",
|
|
"saveState",
|
|
"Landroid/os/Bundle;",
|
|
"savedstate_release"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x8,
|
|
0x0
|
|
}
|
|
xi = 0x30
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final classes:Ljava/util/Set;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Set<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroidx/savedstate/SavedStateRegistry;)V
|
|
.locals 1
|
|
|
|
const-string v0, "registry"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 73
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 76
|
|
new-instance v0, Ljava/util/LinkedHashSet;
|
|
|
|
invoke-direct {v0}, Ljava/util/LinkedHashSet;-><init>()V
|
|
|
|
check-cast v0, Ljava/util/Set;
|
|
|
|
iput-object v0, p0, Landroidx/savedstate/Recreator$SavedStateProvider;->classes:Ljava/util/Set;
|
|
|
|
const-string v0, "androidx.savedstate.Restarter"
|
|
|
|
.line 79
|
|
check-cast p0, Landroidx/savedstate/SavedStateRegistry$SavedStateProvider;
|
|
|
|
invoke-virtual {p1, v0, p0}, Landroidx/savedstate/SavedStateRegistry;->registerSavedStateProvider(Ljava/lang/String;Landroidx/savedstate/SavedStateRegistry$SavedStateProvider;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final add(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "className"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object p0, p0, Landroidx/savedstate/Recreator$SavedStateProvider;->classes:Ljava/util/Set;
|
|
|
|
.line 89
|
|
invoke-interface {p0, p1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public saveState()Landroid/os/Bundle;
|
|
.locals 2
|
|
|
|
.line 83
|
|
new-instance v0, Landroid/os/Bundle;
|
|
|
|
invoke-direct {v0}, Landroid/os/Bundle;-><init>()V
|
|
|
|
.line 84
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
iget-object p0, p0, Landroidx/savedstate/Recreator$SavedStateProvider;->classes:Ljava/util/Set;
|
|
|
|
check-cast p0, Ljava/util/Collection;
|
|
|
|
invoke-direct {v1, p0}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
|
|
|
const-string p0, "classes_to_restore"
|
|
|
|
invoke-virtual {v0, p0, v1}, Landroid/os/Bundle;->putStringArrayList(Ljava/lang/String;Ljava/util/ArrayList;)V
|
|
|
|
return-object v0
|
|
.end method
|