apkfuckery/com.discord/smali/androidx/lifecycle/ServiceLifecycleDispatcher$DispatchRunnable.smali

71 lines
2.1 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public Landroidx/lifecycle/ServiceLifecycleDispatcher$DispatchRunnable;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
.source "ServiceLifecycleDispatcher.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/lifecycle/ServiceLifecycleDispatcher;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x9
2019-07-24 11:27:29 +00:00
name = "DispatchRunnable"
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final mEvent:Landroidx/lifecycle/Lifecycle$Event;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final mRegistry:Landroidx/lifecycle/LifecycleRegistry;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mWasExecuted:Z
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Landroidx/lifecycle/LifecycleRegistry;Landroidx/lifecycle/Lifecycle$Event;)V
2019-07-24 11:27:29 +00:00
.locals 1
2019-12-06 03:29:40 +00:00
.param p1 # Landroidx/lifecycle/LifecycleRegistry;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput-boolean v0, p0, Landroidx/lifecycle/ServiceLifecycleDispatcher$DispatchRunnable;->mWasExecuted:Z
iput-object p1, p0, Landroidx/lifecycle/ServiceLifecycleDispatcher$DispatchRunnable;->mRegistry:Landroidx/lifecycle/LifecycleRegistry;
iput-object p2, p0, Landroidx/lifecycle/ServiceLifecycleDispatcher$DispatchRunnable;->mEvent:Landroidx/lifecycle/Lifecycle$Event;
return-void
.end method
# virtual methods
.method public run()V
.locals 2
iget-boolean v0, p0, Landroidx/lifecycle/ServiceLifecycleDispatcher$DispatchRunnable;->mWasExecuted:Z
if-nez v0, :cond_0
iget-object v0, p0, Landroidx/lifecycle/ServiceLifecycleDispatcher$DispatchRunnable;->mRegistry:Landroidx/lifecycle/LifecycleRegistry;
iget-object v1, p0, Landroidx/lifecycle/ServiceLifecycleDispatcher$DispatchRunnable;->mEvent:Landroidx/lifecycle/Lifecycle$Event;
invoke-virtual {v0, v1}, Landroidx/lifecycle/LifecycleRegistry;->handleLifecycleEvent(Landroidx/lifecycle/Lifecycle$Event;)V
const/4 v0, 0x1
iput-boolean v0, p0, Landroidx/lifecycle/ServiceLifecycleDispatcher$DispatchRunnable;->mWasExecuted:Z
:cond_0
return-void
.end method