62 lines
1.7 KiB
Smali
62 lines
1.7 KiB
Smali
.class Landroidx/activity/ComponentActivity$3;
|
|
.super Ljava/lang/Object;
|
|
.source "ComponentActivity.java"
|
|
|
|
# interfaces
|
|
.implements Landroidx/lifecycle/LifecycleEventObserver;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Landroidx/activity/ComponentActivity;-><init>()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic this$0:Landroidx/activity/ComponentActivity;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Landroidx/activity/ComponentActivity;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Landroidx/activity/ComponentActivity$3;->this$0:Landroidx/activity/ComponentActivity;
|
|
|
|
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_DESTROY:Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
if-ne p2, p1, :cond_0
|
|
|
|
iget-object p1, p0, Landroidx/activity/ComponentActivity$3;->this$0:Landroidx/activity/ComponentActivity;
|
|
|
|
invoke-virtual {p1}, Landroidx/activity/ComponentActivity;->isChangingConfigurations()Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
iget-object p1, p0, Landroidx/activity/ComponentActivity$3;->this$0:Landroidx/activity/ComponentActivity;
|
|
|
|
invoke-virtual {p1}, Landroidx/activity/ComponentActivity;->getViewModelStore()Landroidx/lifecycle/ViewModelStore;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Landroidx/lifecycle/ViewModelStore;->clear()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|