Files
rr3-apk/decompiled/sources/com/mbridge/msdk/playercommon/exoplayer2/util/LibraryLoader.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

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;
}
}