apkfuckery/com.discord/smali/androidx/lifecycle/CloseableCoroutineScope.smali
2020-11-14 03:19:56 +00:00

53 lines
1.4 KiB
Smali

.class public final Landroidx/lifecycle/CloseableCoroutineScope;
.super Ljava/lang/Object;
.source "ViewModel.kt"
# interfaces
.implements Ljava/io/Closeable;
.implements Lkotlinx/coroutines/CoroutineScope;
# instance fields
.field private final coroutineContext:Lkotlin/coroutines/CoroutineContext;
# direct methods
.method public constructor <init>(Lkotlin/coroutines/CoroutineContext;)V
.locals 1
const-string v0, "context"
invoke-static {p1, v0}, Ly/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/lifecycle/CloseableCoroutineScope;->coroutineContext:Lkotlin/coroutines/CoroutineContext;
return-void
.end method
# virtual methods
.method public close()V
.locals 3
invoke-virtual {p0}, Landroidx/lifecycle/CloseableCoroutineScope;->getCoroutineContext()Lkotlin/coroutines/CoroutineContext;
move-result-object v0
const/4 v1, 0x0
const/4 v2, 0x1
invoke-static {v0, v1, v2, v1}, Lz/a/g0;->k(Lkotlin/coroutines/CoroutineContext;Ljava/util/concurrent/CancellationException;ILjava/lang/Object;)V
return-void
.end method
.method public getCoroutineContext()Lkotlin/coroutines/CoroutineContext;
.locals 1
iget-object v0, p0, Landroidx/lifecycle/CloseableCoroutineScope;->coroutineContext:Lkotlin/coroutines/CoroutineContext;
return-object v0
.end method