- 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
19 lines
1.0 KiB
Java
19 lines
1.0 KiB
Java
package kotlinx.coroutines;
|
|
|
|
import java.util.concurrent.Executor;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public abstract class ExecutorsKt {
|
|
public static final CoroutineDispatcher from(Executor executor) {
|
|
CoroutineDispatcher coroutineDispatcher;
|
|
DispatcherExecutor dispatcherExecutor = executor instanceof DispatcherExecutor ? (DispatcherExecutor) executor : null;
|
|
return (dispatcherExecutor == null || (coroutineDispatcher = dispatcherExecutor.dispatcher) == null) ? new ExecutorCoroutineDispatcherImpl(executor) : coroutineDispatcher;
|
|
}
|
|
|
|
public static final Executor asExecutor(CoroutineDispatcher coroutineDispatcher) {
|
|
Executor executor;
|
|
ExecutorCoroutineDispatcher executorCoroutineDispatcher = coroutineDispatcher instanceof ExecutorCoroutineDispatcher ? (ExecutorCoroutineDispatcher) coroutineDispatcher : null;
|
|
return (executorCoroutineDispatcher == null || (executor = executorCoroutineDispatcher.getExecutor()) == null) ? new DispatcherExecutor(coroutineDispatcher) : executor;
|
|
}
|
|
}
|