72 lines
1.5 KiB
Smali
72 lines
1.5 KiB
Smali
.class public final Ly/a/n1;
|
|
.super Ly/a/v;
|
|
.source "Unconfined.kt"
|
|
|
|
|
|
# static fields
|
|
.field public static final d:Ly/a/n1;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
new-instance v0, Ly/a/n1;
|
|
|
|
invoke-direct {v0}, Ly/a/n1;-><init>()V
|
|
|
|
sput-object v0, Ly/a/n1;->d:Ly/a/n1;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ly/a/v;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
|
.locals 0
|
|
|
|
sget-object p2, Ly/a/p1;->d:Ly/a/p1$a;
|
|
|
|
invoke-interface {p1, p2}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ly/a/p1;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/UnsupportedOperationException;
|
|
|
|
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."
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public isDispatchNeeded(Lkotlin/coroutines/CoroutineContext;)Z
|
|
.locals 0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "Dispatchers.Unconfined"
|
|
|
|
return-object v0
|
|
.end method
|