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;
.super Lk0/a/x;
.source "PausingDispatcher.kt"
# instance fields
.field public final dispatchQueue:Landroidx/lifecycle/DispatchQueue;
# direct methods
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Lk0/a/x;-><init>()V
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"
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_1
const-string p1, "context"
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw v0
.end method