Rabbit-R1/original r1/java/sources/androidx/media3/common/MediaLibraryInfo.java

35 lines
1.1 KiB
Java
Raw Normal View History

2024-05-21 16:08:36 -05:00
package androidx.media3.common;
import java.util.HashSet;
/* loaded from: classes2.dex */
public final class MediaLibraryInfo {
public static final boolean ASSERTIONS_ENABLED = true;
public static final String TAG = "AndroidXMedia3";
public static final boolean TRACE_ENABLED = true;
public static final String VERSION = "1.1.1";
public static final int VERSION_INT = 1001001300;
public static final String VERSION_SLASHY = "AndroidXMedia3/1.1.1";
private static final HashSet<String> registeredModules = new HashSet<>();
private static String registeredModulesString = "media3.common";
private MediaLibraryInfo() {
}
public static synchronized String registeredModules() {
String str;
synchronized (MediaLibraryInfo.class) {
str = registeredModulesString;
}
return str;
}
public static synchronized void registerModule(String str) {
synchronized (MediaLibraryInfo.class) {
if (registeredModules.add(str)) {
registeredModulesString += ", " + str;
}
}
}
}