- 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
28 lines
987 B
Java
28 lines
987 B
Java
package androidx.datastore.preferences.protobuf;
|
|
|
|
/* loaded from: classes.dex */
|
|
final class ExtensionSchemas {
|
|
private static final ExtensionSchema<?> LITE_SCHEMA = new ExtensionSchemaLite();
|
|
private static final ExtensionSchema<?> FULL_SCHEMA = loadSchemaForFullRuntime();
|
|
|
|
public static ExtensionSchema<?> lite() {
|
|
return LITE_SCHEMA;
|
|
}
|
|
|
|
private static ExtensionSchema<?> loadSchemaForFullRuntime() {
|
|
try {
|
|
return (ExtensionSchema) Class.forName("androidx.datastore.preferences.protobuf.ExtensionSchemaFull").getDeclaredConstructor(new Class[0]).newInstance(new Object[0]);
|
|
} catch (Exception unused) {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
public static ExtensionSchema<?> full() {
|
|
ExtensionSchema<?> extensionSchema = FULL_SCHEMA;
|
|
if (extensionSchema != null) {
|
|
return extensionSchema;
|
|
}
|
|
throw new IllegalStateException("Protobuf runtime is not correctly loaded.");
|
|
}
|
|
}
|