apkfuckery/com.discord/smali_classes2/y/a/n1.smali

73 lines
1.5 KiB
Smali
Raw Permalink Normal View History

2020-11-30 22:35:21 +00:00
.class public final Ly/a/n1;
.super Ly/a/v;
2020-11-13 19:18:44 +00:00
.source "Unconfined.kt"
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
# static fields
2020-11-30 22:35:21 +00:00
.field public static final d:Ly/a/n1;
2020-11-12 02:11:44 +00:00
# direct methods
2020-11-13 19:18:44 +00:00
.method public static constructor <clinit>()V
.locals 1
2020-11-30 22:35:21 +00:00
new-instance v0, Ly/a/n1;
2020-11-13 19:18:44 +00:00
2020-11-30 22:35:21 +00:00
invoke-direct {v0}, Ly/a/n1;-><init>()V
2020-11-13 19:18:44 +00:00
2020-11-30 22:35:21 +00:00
sput-object v0, Ly/a/n1;->d:Ly/a/n1;
2020-11-13 19:18:44 +00:00
return-void
.end method
.method public constructor <init>()V
2020-11-12 02:11:44 +00:00
.locals 0
2020-11-30 22:35:21 +00:00
invoke-direct {p0}, Ly/a/v;-><init>()V
2020-11-12 02:11:44 +00:00
return-void
.end method
# virtual methods
2020-11-13 19:18:44 +00:00
.method public dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
.locals 0
2020-11-12 02:11:44 +00:00
2020-11-30 22:35:21 +00:00
sget-object p2, Ly/a/p1;->d:Ly/a/p1$a;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-interface {p1, p2}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
2020-11-12 02:11:44 +00:00
move-result-object p1
2020-11-30 22:35:21 +00:00
check-cast p1, Ly/a/p1;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
if-eqz p1, :cond_0
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
return-void
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
:cond_0
new-instance p1, Ljava/lang/UnsupportedOperationException;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
const-string p2, "Dispatchers.Unconfined.dispatch function can only be used by the yield function. If you wrap Unconfined dispatcher in your code, make sure you properly delegate isDispatchNeeded and dispatch calls."
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-direct {p1, p2}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
throw p1
.end method
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
.method public isDispatchNeeded(Lkotlin/coroutines/CoroutineContext;)Z
.locals 0
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
const/4 p1, 0x0
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
return p1
.end method
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
.method public toString()Ljava/lang/String;
.locals 1
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
const-string v0, "Dispatchers.Unconfined"
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
return-object v0
2020-11-12 02:11:44 +00:00
.end method