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

54 lines
1.4 KiB
Smali
Raw Normal View History

2020-11-12 02:11:44 +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
2020-11-16 01:00:50 +00:00
.field public final coroutineContext:Lkotlin/coroutines/CoroutineContext;
2020-11-12 02:11:44 +00:00
# direct methods
.method public constructor <init>(Lkotlin/coroutines/CoroutineContext;)V
.locals 1
const-string v0, "context"
2020-11-16 01:00:50 +00:00
invoke-static {p1, v0}, Lz/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +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-11-16 01:00:50 +00:00
invoke-static {v0, v1, v2, v1}, Lz/i/s;->l(Lkotlin/coroutines/CoroutineContext;Ljava/util/concurrent/CancellationException;ILjava/lang/Object;)V
2020-11-12 02:11:44 +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