- 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
49 lines
981 B
Java
49 lines
981 B
Java
package com.ironsource;
|
|
|
|
import java.util.ArrayList;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class k8 {
|
|
private a a = a.NOT_READY;
|
|
private ArrayList b = new ArrayList();
|
|
private String c;
|
|
|
|
public enum a {
|
|
NOT_READY,
|
|
READY
|
|
}
|
|
|
|
public k8(String str) {
|
|
this.c = str;
|
|
}
|
|
|
|
public synchronized void a() {
|
|
try {
|
|
Object[] array = this.b.toArray();
|
|
for (int i = 0; i < array.length; i++) {
|
|
((Runnable) array[i]).run();
|
|
array[i] = null;
|
|
}
|
|
this.b.clear();
|
|
} catch (Throwable th) {
|
|
throw th;
|
|
}
|
|
}
|
|
|
|
public synchronized void a(Runnable runnable) {
|
|
if (this.a != a.READY) {
|
|
this.b.add(runnable);
|
|
} else {
|
|
runnable.run();
|
|
}
|
|
}
|
|
|
|
public synchronized void b() {
|
|
this.a = a.NOT_READY;
|
|
}
|
|
|
|
public synchronized void c() {
|
|
this.a = a.READY;
|
|
}
|
|
}
|