Files
rr3-apk/decompiled-community/sources/kotlinx/coroutines/internal/MainDispatchersKt.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- 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
2026-02-18 15:48:36 -08:00

48 lines
1.8 KiB
Java

package kotlinx.coroutines.internal;
import java.util.List;
import kotlin.KotlinNothingValueException;
import kotlinx.coroutines.MainCoroutineDispatcher;
/* loaded from: classes5.dex */
public abstract class MainDispatchersKt {
public static final boolean SUPPORT_MISSING = false;
public static final MainCoroutineDispatcher tryCreateDispatcher(MainDispatcherFactory mainDispatcherFactory, List list) {
try {
return mainDispatcherFactory.createDispatcher(list);
} catch (Throwable th) {
return createMissingDispatcher(th, mainDispatcherFactory.hintOnError());
}
}
public static final boolean isMissing(MainCoroutineDispatcher mainCoroutineDispatcher) {
return mainCoroutineDispatcher.getImmediate() instanceof MissingMainCoroutineDispatcher;
}
public static /* synthetic */ MissingMainCoroutineDispatcher createMissingDispatcher$default(Throwable th, String str, int i, Object obj) {
if ((i & 1) != 0) {
th = null;
}
if ((i & 2) != 0) {
str = null;
}
return createMissingDispatcher(th, str);
}
public static final MissingMainCoroutineDispatcher createMissingDispatcher(Throwable th, String str) {
if (SUPPORT_MISSING) {
return new MissingMainCoroutineDispatcher(th, str);
}
if (th != null) {
throw th;
}
throwMissingMainDispatcherException();
throw new KotlinNothingValueException();
}
public static final Void throwMissingMainDispatcherException() {
throw new IllegalStateException("Module with the Main dispatcher is missing. Add dependency providing the Main dispatcher, e.g. 'kotlinx-coroutines-android' and ensure it has the same version as 'kotlinx-coroutines-core'");
}
}