69 lines
2.3 KiB
Smali
69 lines
2.3 KiB
Smali
|
.class public final Landroidx/lifecycle/SavedStateHandleController$1;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "SavedStateHandleController.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Landroidx/lifecycle/LifecycleEventObserver;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Landroidx/lifecycle/SavedStateHandleController;->tryToAddRecreator(Landroidx/savedstate/SavedStateRegistry;Landroidx/lifecycle/Lifecycle;)V
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x9
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final synthetic val$lifecycle:Landroidx/lifecycle/Lifecycle;
|
||
|
|
||
|
.field public final synthetic val$registry:Landroidx/savedstate/SavedStateRegistry;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Landroidx/lifecycle/Lifecycle;Landroidx/savedstate/SavedStateRegistry;)V
|
||
|
.locals 0
|
||
|
|
||
|
iput-object p1, p0, Landroidx/lifecycle/SavedStateHandleController$1;->val$lifecycle:Landroidx/lifecycle/Lifecycle;
|
||
|
|
||
|
iput-object p2, p0, Landroidx/lifecycle/SavedStateHandleController$1;->val$registry: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
|
||
|
.param p1 # Landroidx/lifecycle/LifecycleOwner;
|
||
|
.annotation build Landroidx/annotation/NonNull;
|
||
|
.end annotation
|
||
|
.end param
|
||
|
.param p2 # Landroidx/lifecycle/Lifecycle$Event;
|
||
|
.annotation build Landroidx/annotation/NonNull;
|
||
|
.end annotation
|
||
|
.end param
|
||
|
|
||
|
sget-object p1, Landroidx/lifecycle/Lifecycle$Event;->ON_START:Landroidx/lifecycle/Lifecycle$Event;
|
||
|
|
||
|
if-ne p2, p1, :cond_0
|
||
|
|
||
|
iget-object p1, p0, Landroidx/lifecycle/SavedStateHandleController$1;->val$lifecycle:Landroidx/lifecycle/Lifecycle;
|
||
|
|
||
|
invoke-virtual {p1, p0}, Landroidx/lifecycle/Lifecycle;->removeObserver(Landroidx/lifecycle/LifecycleObserver;)V
|
||
|
|
||
|
iget-object p1, p0, Landroidx/lifecycle/SavedStateHandleController$1;->val$registry:Landroidx/savedstate/SavedStateRegistry;
|
||
|
|
||
|
const-class p2, Landroidx/lifecycle/SavedStateHandleController$OnRecreation;
|
||
|
|
||
|
invoke-virtual {p1, p2}, Landroidx/savedstate/SavedStateRegistry;->runOnNextRecreation(Ljava/lang/Class;)V
|
||
|
|
||
|
:cond_0
|
||
|
return-void
|
||
|
.end method
|