- 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
33 lines
954 B
Java
33 lines
954 B
Java
package com.mbridge.msdk.playercommon.exoplayer2.util;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class LibraryLoader {
|
|
private boolean isAvailable;
|
|
private boolean loadAttempted;
|
|
private String[] nativeLibraries;
|
|
|
|
public LibraryLoader(String... strArr) {
|
|
this.nativeLibraries = strArr;
|
|
}
|
|
|
|
public final synchronized void setLibraries(String... strArr) {
|
|
Assertions.checkState(!this.loadAttempted, "Cannot set libraries after loading");
|
|
this.nativeLibraries = strArr;
|
|
}
|
|
|
|
public final synchronized boolean isAvailable() {
|
|
if (this.loadAttempted) {
|
|
return this.isAvailable;
|
|
}
|
|
this.loadAttempted = true;
|
|
try {
|
|
for (String str : this.nativeLibraries) {
|
|
System.loadLibrary(str);
|
|
}
|
|
this.isAvailable = true;
|
|
} catch (UnsatisfiedLinkError unused) {
|
|
}
|
|
return this.isAvailable;
|
|
}
|
|
}
|