- 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
69 lines
1.9 KiB
Java
69 lines
1.9 KiB
Java
package kotlinx.coroutines;
|
|
|
|
import java.util.concurrent.CancellationException;
|
|
import kotlin.coroutines.AbstractCoroutineContextElement;
|
|
import kotlin.coroutines.Continuation;
|
|
import kotlin.jvm.functions.Function1;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public final class NonCancellable extends AbstractCoroutineContextElement implements Job {
|
|
public static final NonCancellable INSTANCE = new NonCancellable();
|
|
|
|
@Override // kotlinx.coroutines.Job
|
|
public void cancel(CancellationException cancellationException) {
|
|
}
|
|
|
|
@Override // kotlinx.coroutines.Job
|
|
public Job getParent() {
|
|
return null;
|
|
}
|
|
|
|
@Override // kotlinx.coroutines.Job
|
|
public boolean isActive() {
|
|
return true;
|
|
}
|
|
|
|
@Override // kotlinx.coroutines.Job
|
|
public boolean isCancelled() {
|
|
return false;
|
|
}
|
|
|
|
@Override // kotlinx.coroutines.Job
|
|
public boolean start() {
|
|
return false;
|
|
}
|
|
|
|
public String toString() {
|
|
return "NonCancellable";
|
|
}
|
|
|
|
public NonCancellable() {
|
|
super(Job.Key);
|
|
}
|
|
|
|
@Override // kotlinx.coroutines.Job
|
|
public Object join(Continuation continuation) {
|
|
throw new UnsupportedOperationException("This job is always active");
|
|
}
|
|
|
|
@Override // kotlinx.coroutines.Job
|
|
public CancellationException getCancellationException() {
|
|
throw new IllegalStateException("This job is always active");
|
|
}
|
|
|
|
@Override // kotlinx.coroutines.Job
|
|
public DisposableHandle invokeOnCompletion(Function1 function1) {
|
|
return NonDisposableHandle.INSTANCE;
|
|
}
|
|
|
|
@Override // kotlinx.coroutines.Job
|
|
public DisposableHandle invokeOnCompletion(boolean z, boolean z2, Function1 function1) {
|
|
return NonDisposableHandle.INSTANCE;
|
|
}
|
|
|
|
@Override // kotlinx.coroutines.Job
|
|
public ChildHandle attachChild(ChildJob childJob) {
|
|
return NonDisposableHandle.INSTANCE;
|
|
}
|
|
}
|