- 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
52 lines
1.6 KiB
Java
52 lines
1.6 KiB
Java
package com.fyber.inneractive.sdk.external;
|
|
|
|
import com.fyber.inneractive.sdk.flow.t;
|
|
import java.util.Iterator;
|
|
import java.util.concurrent.ConcurrentHashMap;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class InneractiveAdSpotManager {
|
|
public final ConcurrentHashMap a = new ConcurrentHashMap();
|
|
|
|
public static class a {
|
|
public static final InneractiveAdSpotManager a = new InneractiveAdSpotManager();
|
|
}
|
|
|
|
public static void destroy() {
|
|
ConcurrentHashMap concurrentHashMap = get().a;
|
|
Iterator it = concurrentHashMap.keySet().iterator();
|
|
while (it.hasNext()) {
|
|
InneractiveAdSpot inneractiveAdSpot = (InneractiveAdSpot) concurrentHashMap.get((String) it.next());
|
|
if (inneractiveAdSpot != null) {
|
|
inneractiveAdSpot.destroy();
|
|
}
|
|
}
|
|
concurrentHashMap.clear();
|
|
}
|
|
|
|
public static InneractiveAdSpotManager get() {
|
|
return a.a;
|
|
}
|
|
|
|
public void bindSpot(InneractiveAdSpot inneractiveAdSpot) {
|
|
this.a.put(inneractiveAdSpot.getLocalUniqueId(), inneractiveAdSpot);
|
|
}
|
|
|
|
public InneractiveAdSpot createSpot() {
|
|
t tVar = new t();
|
|
this.a.put(tVar.a, tVar);
|
|
return tVar;
|
|
}
|
|
|
|
public InneractiveAdSpot getSpot(String str) {
|
|
return (InneractiveAdSpot) this.a.get(str);
|
|
}
|
|
|
|
public void removeSpot(InneractiveAdSpot inneractiveAdSpot) {
|
|
ConcurrentHashMap concurrentHashMap = this.a;
|
|
if (concurrentHashMap != null) {
|
|
concurrentHashMap.remove(inneractiveAdSpot.getLocalUniqueId());
|
|
}
|
|
}
|
|
}
|