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

54 lines
1.4 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.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 public final coroutineContext:Lkotlin/coroutines/CoroutineContext;
# direct methods
.method public constructor <init>(Lkotlin/coroutines/CoroutineContext;)V
2020-09-09 19:21:20 +00:00
.locals 1
const-string v0, "context"
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
invoke-static {p1, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
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
2020-09-09 19:21:20 +00:00
invoke-static {v0, v1, v2, v1}, Lk0/j/a;->l(Lkotlin/coroutines/CoroutineContext;Ljava/util/concurrent/CancellationException;ILjava/lang/Object;)V
2020-07-08 16:44:49 +00:00
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