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

56 lines
1.2 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Landroidx/lifecycle/PausingDispatcher;
2020-07-23 01:06:17 +00:00
.super Lk0/a/v;
2020-07-08 16:44:49 +00:00
.source "PausingDispatcher.kt"
# instance fields
.field public final dispatchQueue:Landroidx/lifecycle/DispatchQueue;
# direct methods
.method public constructor <init>()V
.locals 1
2020-07-23 01:06:17 +00:00
invoke-direct {p0}, Lk0/a/v;-><init>()V
2020-07-08 16:44:49 +00:00
new-instance v0, Landroidx/lifecycle/DispatchQueue;
invoke-direct {v0}, Landroidx/lifecycle/DispatchQueue;-><init>()V
iput-object v0, p0, Landroidx/lifecycle/PausingDispatcher;->dispatchQueue:Landroidx/lifecycle/DispatchQueue;
return-void
.end method
# virtual methods
.method public dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
.locals 1
const/4 v0, 0x0
if-eqz p1, :cond_1
if-eqz p2, :cond_0
iget-object p1, p0, Landroidx/lifecycle/PausingDispatcher;->dispatchQueue:Landroidx/lifecycle/DispatchQueue;
invoke-virtual {p1, p2}, Landroidx/lifecycle/DispatchQueue;->runOrEnqueue(Ljava/lang/Runnable;)V
return-void
:cond_0
const-string p1, "block"
2020-07-25 00:57:58 +00:00
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
throw v0
:cond_1
const-string p1, "context"
2020-07-25 00:57:58 +00:00
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
throw v0
.end method