apkfuckery/com.discord/smali/androidx/lifecycle/FullLifecycleObserverAdapter.smali

117 lines
3.9 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class Landroidx/lifecycle/FullLifecycleObserverAdapter;
.super Ljava/lang/Object;
.source "FullLifecycleObserverAdapter.java"
# interfaces
2019-10-07 23:23:22 +00:00
.implements Landroidx/lifecycle/LifecycleEventObserver;
2019-07-24 11:27:29 +00:00
# instance fields
2019-10-07 23:23:22 +00:00
.field private final mFullLifecycleObserver:Landroidx/lifecycle/FullLifecycleObserver;
.field private final mLifecycleEventObserver:Landroidx/lifecycle/LifecycleEventObserver;
2019-07-24 11:27:29 +00:00
# direct methods
2019-10-07 23:23:22 +00:00
.method constructor <init>(Landroidx/lifecycle/FullLifecycleObserver;Landroidx/lifecycle/LifecycleEventObserver;)V
2019-07-24 11:27:29 +00:00
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-10-07 23:23:22 +00:00
iput-object p1, p0, Landroidx/lifecycle/FullLifecycleObserverAdapter;->mFullLifecycleObserver:Landroidx/lifecycle/FullLifecycleObserver;
iput-object p2, p0, Landroidx/lifecycle/FullLifecycleObserverAdapter;->mLifecycleEventObserver:Landroidx/lifecycle/LifecycleEventObserver;
2019-07-24 11:27:29 +00:00
return-void
.end method
# virtual methods
.method public onStateChanged(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;)V
2019-10-07 23:23:22 +00:00
.locals 2
2019-07-24 11:27:29 +00:00
sget-object v0, Landroidx/lifecycle/FullLifecycleObserverAdapter$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
invoke-virtual {p2}, Landroidx/lifecycle/Lifecycle$Event;->ordinal()I
2019-10-07 23:23:22 +00:00
move-result v1
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
aget v0, v0, v1
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
packed-switch v0, :pswitch_data_0
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:pswitch_0
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string p2, "ON_ANY must not been send by anybody"
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
:pswitch_1
2019-10-07 23:23:22 +00:00
iget-object v0, p0, Landroidx/lifecycle/FullLifecycleObserverAdapter;->mFullLifecycleObserver:Landroidx/lifecycle/FullLifecycleObserver;
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
invoke-interface {v0, p1}, Landroidx/lifecycle/FullLifecycleObserver;->onDestroy(Landroidx/lifecycle/LifecycleOwner;)V
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:pswitch_2
2019-10-07 23:23:22 +00:00
iget-object v0, p0, Landroidx/lifecycle/FullLifecycleObserverAdapter;->mFullLifecycleObserver:Landroidx/lifecycle/FullLifecycleObserver;
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
invoke-interface {v0, p1}, Landroidx/lifecycle/FullLifecycleObserver;->onStop(Landroidx/lifecycle/LifecycleOwner;)V
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:pswitch_3
2019-10-07 23:23:22 +00:00
iget-object v0, p0, Landroidx/lifecycle/FullLifecycleObserverAdapter;->mFullLifecycleObserver:Landroidx/lifecycle/FullLifecycleObserver;
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
invoke-interface {v0, p1}, Landroidx/lifecycle/FullLifecycleObserver;->onPause(Landroidx/lifecycle/LifecycleOwner;)V
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:pswitch_4
2019-10-07 23:23:22 +00:00
iget-object v0, p0, Landroidx/lifecycle/FullLifecycleObserverAdapter;->mFullLifecycleObserver:Landroidx/lifecycle/FullLifecycleObserver;
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
invoke-interface {v0, p1}, Landroidx/lifecycle/FullLifecycleObserver;->onResume(Landroidx/lifecycle/LifecycleOwner;)V
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:pswitch_5
2019-10-07 23:23:22 +00:00
iget-object v0, p0, Landroidx/lifecycle/FullLifecycleObserverAdapter;->mFullLifecycleObserver:Landroidx/lifecycle/FullLifecycleObserver;
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
invoke-interface {v0, p1}, Landroidx/lifecycle/FullLifecycleObserver;->onStart(Landroidx/lifecycle/LifecycleOwner;)V
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:pswitch_6
2019-10-07 23:23:22 +00:00
iget-object v0, p0, Landroidx/lifecycle/FullLifecycleObserverAdapter;->mFullLifecycleObserver:Landroidx/lifecycle/FullLifecycleObserver;
invoke-interface {v0, p1}, Landroidx/lifecycle/FullLifecycleObserver;->onCreate(Landroidx/lifecycle/LifecycleOwner;)V
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
:goto_0
iget-object v0, p0, Landroidx/lifecycle/FullLifecycleObserverAdapter;->mLifecycleEventObserver:Landroidx/lifecycle/LifecycleEventObserver;
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
if-eqz v0, :cond_0
invoke-interface {v0, p1, p2}, Landroidx/lifecycle/LifecycleEventObserver;->onStateChanged(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;)V
:cond_0
2019-07-24 11:27:29 +00:00
return-void
2019-10-07 23:23:22 +00:00
nop
2019-07-24 11:27:29 +00:00
:pswitch_data_0
.packed-switch 0x1
:pswitch_6
:pswitch_5
:pswitch_4
:pswitch_3
:pswitch_2
:pswitch_1
:pswitch_0
.end packed-switch
.end method