apkfuckery/com.discord/smali/androidx/savedstate/SavedStateRegistry$1.smali
2019-12-06 04:29:40 +01:00

66 lines
1.8 KiB
Smali

.class public Landroidx/savedstate/SavedStateRegistry$1;
.super Ljava/lang/Object;
.source "SavedStateRegistry.java"
# interfaces
.implements Landroidx/lifecycle/GenericLifecycleObserver;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/savedstate/SavedStateRegistry;->performRestore(Landroidx/lifecycle/Lifecycle;Landroid/os/Bundle;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic this$0:Landroidx/savedstate/SavedStateRegistry;
# direct methods
.method public constructor <init>(Landroidx/savedstate/SavedStateRegistry;)V
.locals 0
iput-object p1, p0, Landroidx/savedstate/SavedStateRegistry$1;->this$0:Landroidx/savedstate/SavedStateRegistry;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onStateChanged(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;)V
.locals 0
sget-object p1, Landroidx/lifecycle/Lifecycle$Event;->ON_START:Landroidx/lifecycle/Lifecycle$Event;
if-ne p2, p1, :cond_0
iget-object p1, p0, Landroidx/savedstate/SavedStateRegistry$1;->this$0:Landroidx/savedstate/SavedStateRegistry;
const/4 p2, 0x1
iput-boolean p2, p1, Landroidx/savedstate/SavedStateRegistry;->mAllowingSavingState:Z
goto :goto_0
:cond_0
sget-object p1, Landroidx/lifecycle/Lifecycle$Event;->ON_STOP:Landroidx/lifecycle/Lifecycle$Event;
if-ne p2, p1, :cond_1
iget-object p1, p0, Landroidx/savedstate/SavedStateRegistry$1;->this$0:Landroidx/savedstate/SavedStateRegistry;
const/4 p2, 0x0
iput-boolean p2, p1, Landroidx/savedstate/SavedStateRegistry;->mAllowingSavingState:Z
:cond_1
:goto_0
return-void
.end method