Files
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

45 lines
2.2 KiB
Java

package androidx.datastore;
import android.content.Context;
import androidx.datastore.core.Serializer;
import androidx.datastore.core.handlers.ReplaceFileCorruptionHandler;
import java.util.List;
import kotlin.collections.CollectionsKt__CollectionsKt;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Intrinsics;
import kotlin.properties.ReadOnlyProperty;
import kotlinx.coroutines.CoroutineScope;
import kotlinx.coroutines.CoroutineScopeKt;
import kotlinx.coroutines.Dispatchers;
import kotlinx.coroutines.SupervisorKt;
/* loaded from: classes.dex */
public final class DataStoreDelegateKt {
public static /* synthetic */ ReadOnlyProperty dataStore$default(String str, Serializer serializer, ReplaceFileCorruptionHandler replaceFileCorruptionHandler, Function1 function1, CoroutineScope coroutineScope, int i, Object obj) {
if ((i & 4) != 0) {
replaceFileCorruptionHandler = null;
}
if ((i & 8) != 0) {
function1 = new Function1() { // from class: androidx.datastore.DataStoreDelegateKt$dataStore$1
@Override // kotlin.jvm.functions.Function1
public final List invoke(Context it) {
Intrinsics.checkNotNullParameter(it, "it");
return CollectionsKt__CollectionsKt.emptyList();
}
};
}
if ((i & 16) != 0) {
coroutineScope = CoroutineScopeKt.CoroutineScope(Dispatchers.getIO().plus(SupervisorKt.SupervisorJob$default(null, 1, null)));
}
return dataStore(str, serializer, replaceFileCorruptionHandler, function1, coroutineScope);
}
public static final <T> ReadOnlyProperty dataStore(String fileName, Serializer<T> serializer, ReplaceFileCorruptionHandler<T> replaceFileCorruptionHandler, Function1 produceMigrations, CoroutineScope scope) {
Intrinsics.checkNotNullParameter(fileName, "fileName");
Intrinsics.checkNotNullParameter(serializer, "serializer");
Intrinsics.checkNotNullParameter(produceMigrations, "produceMigrations");
Intrinsics.checkNotNullParameter(scope, "scope");
return new DataStoreSingletonDelegate(fileName, serializer, replaceFileCorruptionHandler, produceMigrations, scope);
}
}