- 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
158 lines
4.0 KiB
Java
158 lines
4.0 KiB
Java
package com.ironsource;
|
|
|
|
import android.os.Handler;
|
|
import android.os.Looper;
|
|
import java.util.concurrent.ThreadPoolExecutor;
|
|
import java.util.concurrent.TimeUnit;
|
|
import kotlin.Lazy;
|
|
import kotlin.LazyKt__LazyJVMKt;
|
|
import kotlin.jvm.functions.Function0;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import kotlin.jvm.internal.Lambda;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class ve implements jt {
|
|
public static final ve a = new ve();
|
|
private static final Handler b = new Handler(Looper.getMainLooper());
|
|
private static boolean c;
|
|
private static final Lazy d;
|
|
private static final ti e;
|
|
private static final ti f;
|
|
private static final ti g;
|
|
|
|
public static final class a extends Lambda implements Function0 {
|
|
public static final a a = new a();
|
|
|
|
public a() {
|
|
super(0);
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
/* renamed from: a, reason: merged with bridge method [inline-methods] */
|
|
public final zp invoke() {
|
|
return new zp(0, null, null, 7, null);
|
|
}
|
|
}
|
|
|
|
static {
|
|
Lazy lazy;
|
|
lazy = LazyKt__LazyJVMKt.lazy(a.a);
|
|
d = lazy;
|
|
ti tiVar = new ti("isadplayer-background");
|
|
tiVar.start();
|
|
tiVar.a();
|
|
e = tiVar;
|
|
ti tiVar2 = new ti("isadplayer-publisher-callbacks");
|
|
tiVar2.start();
|
|
tiVar2.a();
|
|
f = tiVar2;
|
|
ti tiVar3 = new ti("isadplayer-release");
|
|
tiVar3.start();
|
|
tiVar3.a();
|
|
g = tiVar3;
|
|
}
|
|
|
|
private ve() {
|
|
}
|
|
|
|
public static /* synthetic */ void a(ve veVar, Runnable runnable, long j, int i, Object obj) {
|
|
if ((i & 2) != 0) {
|
|
j = 0;
|
|
}
|
|
veVar.b(runnable, j);
|
|
}
|
|
|
|
private final zp b() {
|
|
return (zp) d.getValue();
|
|
}
|
|
|
|
public static /* synthetic */ void b(ve veVar, Runnable runnable, long j, int i, Object obj) {
|
|
if ((i & 2) != 0) {
|
|
j = 0;
|
|
}
|
|
veVar.c(runnable, j);
|
|
}
|
|
|
|
public static /* synthetic */ void c(ve veVar, Runnable runnable, long j, int i, Object obj) {
|
|
if ((i & 2) != 0) {
|
|
j = 0;
|
|
}
|
|
veVar.d(runnable, j);
|
|
}
|
|
|
|
private final boolean f(Runnable runnable) {
|
|
return c && b().getQueue().contains(runnable);
|
|
}
|
|
|
|
public final Looper a() {
|
|
return e.getLooper();
|
|
}
|
|
|
|
@Override // com.ironsource.jt
|
|
public void a(Runnable action) {
|
|
Intrinsics.checkNotNullParameter(action, "action");
|
|
c(this, action, 0L, 2, null);
|
|
}
|
|
|
|
@Override // com.ironsource.jt
|
|
public void a(Runnable action, long j) {
|
|
Intrinsics.checkNotNullParameter(action, "action");
|
|
if (c) {
|
|
b().schedule(action, j, TimeUnit.MILLISECONDS);
|
|
} else {
|
|
g.a(action, j);
|
|
}
|
|
}
|
|
|
|
public final void a(boolean z) {
|
|
c = z;
|
|
}
|
|
|
|
public final void b(Runnable action) {
|
|
Intrinsics.checkNotNullParameter(action, "action");
|
|
a(this, action, 0L, 2, (Object) null);
|
|
}
|
|
|
|
public final void b(Runnable action, long j) {
|
|
Intrinsics.checkNotNullParameter(action, "action");
|
|
e.a(action, j);
|
|
}
|
|
|
|
public final ThreadPoolExecutor c() {
|
|
return b();
|
|
}
|
|
|
|
public final void c(Runnable action) {
|
|
Intrinsics.checkNotNullParameter(action, "action");
|
|
b(this, action, 0L, 2, null);
|
|
}
|
|
|
|
public final void c(Runnable action, long j) {
|
|
Intrinsics.checkNotNullParameter(action, "action");
|
|
f.a(action, j);
|
|
}
|
|
|
|
public final void d(Runnable action) {
|
|
Intrinsics.checkNotNullParameter(action, "action");
|
|
c(this, action, 0L, 2, null);
|
|
}
|
|
|
|
public final void d(Runnable action, long j) {
|
|
Intrinsics.checkNotNullParameter(action, "action");
|
|
b.postDelayed(action, j);
|
|
}
|
|
|
|
public final boolean d() {
|
|
return c;
|
|
}
|
|
|
|
public final void e(Runnable action) {
|
|
Intrinsics.checkNotNullParameter(action, "action");
|
|
if (f(action)) {
|
|
b().remove(action);
|
|
} else {
|
|
g.b(action);
|
|
}
|
|
}
|
|
}
|