- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
62 lines
2.1 KiB
Java
62 lines
2.1 KiB
Java
package kotlinx.coroutines;
|
|
|
|
import java.util.concurrent.CancellationException;
|
|
import kotlin.Unit;
|
|
import kotlin.coroutines.Continuation;
|
|
import kotlin.coroutines.CoroutineContext;
|
|
import kotlin.coroutines.intrinsics.IntrinsicsKt__IntrinsicsKt;
|
|
import kotlinx.coroutines.Job;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public abstract /* synthetic */ class JobKt__JobKt {
|
|
public static final CompletableJob Job(Job job) {
|
|
return new JobImpl(job);
|
|
}
|
|
|
|
public static /* synthetic */ CompletableJob Job$default(Job job, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
job = null;
|
|
}
|
|
return JobKt.Job(job);
|
|
}
|
|
|
|
public static final DisposableHandle disposeOnCompletion(Job job, DisposableHandle disposableHandle) {
|
|
return job.invokeOnCompletion(new DisposeOnCompletion(disposableHandle));
|
|
}
|
|
|
|
public static final Object cancelAndJoin(Job job, Continuation continuation) {
|
|
Object coroutine_suspended;
|
|
Job.DefaultImpls.cancel$default(job, null, 1, null);
|
|
Object join = job.join(continuation);
|
|
coroutine_suspended = IntrinsicsKt__IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
|
return join == coroutine_suspended ? join : Unit.INSTANCE;
|
|
}
|
|
|
|
public static /* synthetic */ void cancel$default(CoroutineContext coroutineContext, CancellationException cancellationException, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
cancellationException = null;
|
|
}
|
|
JobKt.cancel(coroutineContext, cancellationException);
|
|
}
|
|
|
|
public static final void cancel(CoroutineContext coroutineContext, CancellationException cancellationException) {
|
|
Job job = (Job) coroutineContext.get(Job.Key);
|
|
if (job != null) {
|
|
job.cancel(cancellationException);
|
|
}
|
|
}
|
|
|
|
public static final void ensureActive(Job job) {
|
|
if (!job.isActive()) {
|
|
throw job.getCancellationException();
|
|
}
|
|
}
|
|
|
|
public static final void ensureActive(CoroutineContext coroutineContext) {
|
|
Job job = (Job) coroutineContext.get(Job.Key);
|
|
if (job != null) {
|
|
JobKt.ensureActive(job);
|
|
}
|
|
}
|
|
}
|