- 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
795 lines
22 KiB
Java
795 lines
22 KiB
Java
package com.ironsource.sdk.controller;
|
|
|
|
import android.app.Activity;
|
|
import android.content.Context;
|
|
import android.os.CountDownTimer;
|
|
import android.util.Log;
|
|
import com.ironsource.el;
|
|
import com.ironsource.gc;
|
|
import com.ironsource.gl;
|
|
import com.ironsource.ha;
|
|
import com.ironsource.hc;
|
|
import com.ironsource.hl;
|
|
import com.ironsource.hm;
|
|
import com.ironsource.i0;
|
|
import com.ironsource.i9;
|
|
import com.ironsource.ia;
|
|
import com.ironsource.jd;
|
|
import com.ironsource.k8;
|
|
import com.ironsource.l3;
|
|
import com.ironsource.ld;
|
|
import com.ironsource.n9;
|
|
import com.ironsource.nb;
|
|
import com.ironsource.o9;
|
|
import com.ironsource.p9;
|
|
import com.ironsource.qf;
|
|
import com.ironsource.ra;
|
|
import com.ironsource.rf;
|
|
import com.ironsource.sdk.IronSourceNetwork;
|
|
import com.ironsource.sdk.controller.f;
|
|
import com.ironsource.sdk.controller.l;
|
|
import com.ironsource.sdk.utils.IronSourceStorageUtils;
|
|
import com.ironsource.sdk.utils.Logger;
|
|
import com.ironsource.sf;
|
|
import com.ironsource.v8;
|
|
import com.ironsource.ve;
|
|
import com.ironsource.vp;
|
|
import com.ironsource.wu;
|
|
import com.ironsource.xf;
|
|
import com.ironsource.y8;
|
|
import com.ironsource.yf;
|
|
import java.util.HashMap;
|
|
import java.util.Map;
|
|
import org.json.JSONObject;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public class e implements com.ironsource.sdk.controller.c, com.ironsource.sdk.controller.l {
|
|
private com.ironsource.sdk.controller.l b;
|
|
private CountDownTimer d;
|
|
private final ve g;
|
|
private final wu h;
|
|
private final hm k;
|
|
private final String a = e.class.getSimpleName();
|
|
private qf.b c = qf.b.None;
|
|
private final k8 e = new k8("NativeCommandExecutor");
|
|
private final k8 f = new k8("ControllerCommandsExecutor");
|
|
private final Map<String, l.a> i = new HashMap();
|
|
private final Map<String, l.b> j = new HashMap();
|
|
|
|
public class a implements Runnable {
|
|
final /* synthetic */ JSONObject a;
|
|
final /* synthetic */ o9 b;
|
|
|
|
public a(JSONObject jSONObject, o9 o9Var) {
|
|
this.a = jSONObject;
|
|
this.b = o9Var;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
if (e.this.b != null) {
|
|
e.this.b.a(this.a, this.b);
|
|
}
|
|
}
|
|
}
|
|
|
|
public class b implements Runnable {
|
|
final /* synthetic */ ha a;
|
|
final /* synthetic */ Map b;
|
|
final /* synthetic */ o9 c;
|
|
|
|
public b(ha haVar, Map map, o9 o9Var) {
|
|
this.a = haVar;
|
|
this.b = map;
|
|
this.c = o9Var;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
if (e.this.b != null) {
|
|
e.this.b.a(this.a, this.b, this.c);
|
|
}
|
|
}
|
|
}
|
|
|
|
public class c implements Runnable {
|
|
final /* synthetic */ String a;
|
|
final /* synthetic */ String b;
|
|
final /* synthetic */ ha c;
|
|
final /* synthetic */ n9 d;
|
|
|
|
public c(String str, String str2, ha haVar, n9 n9Var) {
|
|
this.a = str;
|
|
this.b = str2;
|
|
this.c = haVar;
|
|
this.d = n9Var;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
if (e.this.b != null) {
|
|
e.this.b.a(this.a, this.b, this.c, this.d);
|
|
}
|
|
}
|
|
}
|
|
|
|
public class d implements Runnable {
|
|
final /* synthetic */ JSONObject a;
|
|
final /* synthetic */ n9 b;
|
|
|
|
public d(JSONObject jSONObject, n9 n9Var) {
|
|
this.a = jSONObject;
|
|
this.b = n9Var;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
if (e.this.b != null) {
|
|
e.this.b.a(this.a, this.b);
|
|
}
|
|
}
|
|
}
|
|
|
|
/* renamed from: com.ironsource.sdk.controller.e$e, reason: collision with other inner class name */
|
|
public class RunnableC0181e implements Runnable {
|
|
final /* synthetic */ ha a;
|
|
|
|
public RunnableC0181e(ha haVar) {
|
|
this.a = haVar;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
if (e.this.b != null) {
|
|
e.this.b.a(this.a);
|
|
}
|
|
}
|
|
}
|
|
|
|
public class f implements Runnable {
|
|
final /* synthetic */ ha a;
|
|
|
|
public f(ha haVar) {
|
|
this.a = haVar;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
if (e.this.b != null) {
|
|
e.this.b.b(this.a);
|
|
}
|
|
}
|
|
}
|
|
|
|
public class g implements Runnable {
|
|
final /* synthetic */ ha a;
|
|
final /* synthetic */ Map b;
|
|
final /* synthetic */ n9 c;
|
|
|
|
public g(ha haVar, Map map, n9 n9Var) {
|
|
this.a = haVar;
|
|
this.b = map;
|
|
this.c = n9Var;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
if (e.this.b != null) {
|
|
e.this.b.a(this.a, this.b, this.c);
|
|
}
|
|
}
|
|
}
|
|
|
|
public class h implements Runnable {
|
|
final /* synthetic */ l.a a;
|
|
final /* synthetic */ f.c b;
|
|
|
|
public h(l.a aVar, f.c cVar) {
|
|
this.a = aVar;
|
|
this.b = cVar;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
if (e.this.b != null) {
|
|
if (this.a != null) {
|
|
e.this.i.put(this.b.f(), this.a);
|
|
}
|
|
e.this.b.a(this.b, this.a);
|
|
}
|
|
}
|
|
}
|
|
|
|
public class i implements Runnable {
|
|
final /* synthetic */ JSONObject a;
|
|
|
|
public i(JSONObject jSONObject) {
|
|
this.a = jSONObject;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
if (e.this.b != null) {
|
|
e.this.b.b(this.a);
|
|
}
|
|
}
|
|
}
|
|
|
|
public class j implements Runnable {
|
|
public j() {
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
if (e.this.b != null) {
|
|
e.this.b.destroy();
|
|
e.this.b = null;
|
|
}
|
|
}
|
|
}
|
|
|
|
public class k extends CountDownTimer {
|
|
public k(long j, long j2) {
|
|
super(j, j2);
|
|
}
|
|
|
|
@Override // android.os.CountDownTimer
|
|
public void onFinish() {
|
|
Logger.i(e.this.a, "Global Controller Timer Finish");
|
|
e.this.d(v8.c.k);
|
|
}
|
|
|
|
@Override // android.os.CountDownTimer
|
|
public void onTick(long j) {
|
|
Logger.i(e.this.a, "Global Controller Timer Tick " + j);
|
|
}
|
|
}
|
|
|
|
public class l implements Runnable {
|
|
public l() {
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
e.this.c();
|
|
}
|
|
}
|
|
|
|
public class m implements Runnable {
|
|
final /* synthetic */ String a;
|
|
final /* synthetic */ String b;
|
|
|
|
public m(String str, String str2) {
|
|
this.a = str;
|
|
this.b = str2;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
try {
|
|
e eVar = e.this;
|
|
eVar.b = eVar.b(eVar.h.b(), e.this.h.d(), e.this.h.f(), e.this.h.e(), e.this.h.g(), e.this.h.c(), this.a, this.b);
|
|
e.this.b.a();
|
|
} catch (Throwable th) {
|
|
i9.d().a(th);
|
|
e.this.d(Log.getStackTraceString(th));
|
|
}
|
|
}
|
|
}
|
|
|
|
public class n extends CountDownTimer {
|
|
public n(long j, long j2) {
|
|
super(j, j2);
|
|
}
|
|
|
|
@Override // android.os.CountDownTimer
|
|
public void onFinish() {
|
|
Logger.i(e.this.a, "Recovered Controller | Global Controller Timer Finish");
|
|
e.this.d(v8.c.k);
|
|
}
|
|
|
|
@Override // android.os.CountDownTimer
|
|
public void onTick(long j) {
|
|
Logger.i(e.this.a, "Recovered Controller | Global Controller Timer Tick " + j);
|
|
}
|
|
}
|
|
|
|
public class o implements Runnable {
|
|
final /* synthetic */ String a;
|
|
final /* synthetic */ String b;
|
|
final /* synthetic */ ha c;
|
|
final /* synthetic */ p9 d;
|
|
|
|
public o(String str, String str2, ha haVar, p9 p9Var) {
|
|
this.a = str;
|
|
this.b = str2;
|
|
this.c = haVar;
|
|
this.d = p9Var;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
if (e.this.b != null) {
|
|
e.this.b.a(this.a, this.b, this.c, this.d);
|
|
}
|
|
}
|
|
}
|
|
|
|
public class p implements Runnable {
|
|
final /* synthetic */ JSONObject a;
|
|
final /* synthetic */ p9 b;
|
|
|
|
public p(JSONObject jSONObject, p9 p9Var) {
|
|
this.a = jSONObject;
|
|
this.b = p9Var;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
if (e.this.b != null) {
|
|
e.this.b.a(this.a, this.b);
|
|
}
|
|
}
|
|
}
|
|
|
|
public class q implements Runnable {
|
|
final /* synthetic */ String a;
|
|
final /* synthetic */ String b;
|
|
final /* synthetic */ ha c;
|
|
final /* synthetic */ o9 d;
|
|
|
|
public q(String str, String str2, ha haVar, o9 o9Var) {
|
|
this.a = str;
|
|
this.b = str2;
|
|
this.c = haVar;
|
|
this.d = o9Var;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
if (e.this.b != null) {
|
|
e.this.b.a(this.a, this.b, this.c, this.d);
|
|
}
|
|
}
|
|
}
|
|
|
|
public class r implements Runnable {
|
|
final /* synthetic */ String a;
|
|
final /* synthetic */ o9 b;
|
|
|
|
public r(String str, o9 o9Var) {
|
|
this.a = str;
|
|
this.b = o9Var;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
if (e.this.b != null) {
|
|
e.this.b.a(this.a, this.b);
|
|
}
|
|
}
|
|
}
|
|
|
|
public class s implements Runnable {
|
|
final /* synthetic */ ha a;
|
|
final /* synthetic */ Map b;
|
|
final /* synthetic */ o9 c;
|
|
|
|
public s(ha haVar, Map map, o9 o9Var) {
|
|
this.a = haVar;
|
|
this.b = map;
|
|
this.c = o9Var;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
xf.a(vp.j, new sf().a(nb.v, this.a.f()).a(nb.w, yf.a(this.a, qf.e.Interstitial)).a(nb.x, Boolean.valueOf(yf.a(this.a))).a(nb.I, Long.valueOf(i0.a.b(this.a.h()))).a());
|
|
if (e.this.b != null) {
|
|
e.this.b.b(this.a, this.b, this.c);
|
|
}
|
|
}
|
|
}
|
|
|
|
public e(Context context, y8 y8Var, ia iaVar, ve veVar, int i2, JSONObject jSONObject, String str, String str2, hm hmVar) {
|
|
this.k = hmVar;
|
|
this.g = veVar;
|
|
String networkStorageDir = IronSourceStorageUtils.getNetworkStorageDir(context);
|
|
ra a2 = ra.a(networkStorageDir, veVar, jSONObject);
|
|
this.h = new wu(context, y8Var, iaVar, i2, a2, networkStorageDir);
|
|
a(context, y8Var, iaVar, i2, a2, networkStorageDir, str, str2);
|
|
}
|
|
|
|
private void a(final Context context, final y8 y8Var, final ia iaVar, final int i2, final ra raVar, final String str, final String str2, final String str3) {
|
|
int a2 = el.N().d().a();
|
|
if (a2 > 0) {
|
|
xf.a(vp.B, new sf().a(nb.y, String.valueOf(a2)).a());
|
|
}
|
|
a(new Runnable() { // from class: com.ironsource.sdk.controller.e$$ExternalSyntheticLambda1
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
e.this.c(context, y8Var, iaVar, i2, raVar, str, str2, str3);
|
|
}
|
|
}, a2);
|
|
this.d = new k(200000L, 1000L).start();
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public /* synthetic */ void a(gl glVar) {
|
|
l.b bVar = this.j.get(glVar.d());
|
|
if (bVar != null) {
|
|
bVar.a(glVar);
|
|
}
|
|
}
|
|
|
|
private void a(qf.e eVar, ha haVar, String str, String str2) {
|
|
Logger.i(this.a, "recoverWebController for product: " + eVar.toString());
|
|
sf sfVar = new sf();
|
|
sfVar.a(nb.w, eVar.toString());
|
|
sfVar.a(nb.v, haVar.f());
|
|
xf.a(vp.b, sfVar.a());
|
|
this.h.n();
|
|
destroy();
|
|
b(new m(str, str2));
|
|
this.d = new n(200000L, 1000L).start();
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public /* synthetic */ void a(f.a aVar) {
|
|
l.a remove = this.i.remove(aVar.c());
|
|
if (remove != null) {
|
|
remove.a(aVar);
|
|
}
|
|
}
|
|
|
|
private void a(Runnable runnable, long j2) {
|
|
ve veVar = this.g;
|
|
if (veVar != null) {
|
|
veVar.d(runnable, j2);
|
|
} else {
|
|
Logger.e(this.a, "mThreadManager = null");
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public v b(Context context, y8 y8Var, ia iaVar, int i2, ra raVar, String str, String str2, String str3) throws Throwable {
|
|
xf.a(vp.c);
|
|
v vVar = new v(context, iaVar, y8Var, this, this.g, i2, raVar, str, h(), i(), str2, str3);
|
|
hc hcVar = new hc(context, raVar, new gc(this.g.a()), new hl(raVar.a()));
|
|
vVar.a(new u(context));
|
|
vVar.a(new com.ironsource.sdk.controller.o(context));
|
|
vVar.a(new com.ironsource.sdk.controller.q(context));
|
|
vVar.a(new com.ironsource.sdk.controller.i(context));
|
|
vVar.a(new com.ironsource.sdk.controller.a(context));
|
|
vVar.a(new com.ironsource.sdk.controller.j(raVar.a(), hcVar));
|
|
vVar.a(new l3());
|
|
return vVar;
|
|
}
|
|
|
|
private void b(Runnable runnable) {
|
|
a(runnable, 0L);
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public /* synthetic */ void c(Context context, y8 y8Var, ia iaVar, int i2, ra raVar, String str, String str2, String str3) {
|
|
try {
|
|
v b2 = b(context, y8Var, iaVar, i2, raVar, str, str2, str3);
|
|
this.b = b2;
|
|
b2.a();
|
|
} catch (Throwable th) {
|
|
i9.d().a(th);
|
|
d(Log.getStackTraceString(th));
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public void d(String str) {
|
|
xf.a(vp.d, new sf().a(nb.A, str).a());
|
|
this.c = qf.b.Loading;
|
|
this.b = new com.ironsource.sdk.controller.n(str, this.g);
|
|
this.e.c();
|
|
this.e.a();
|
|
ve veVar = this.g;
|
|
if (veVar != null) {
|
|
veVar.c(new l());
|
|
}
|
|
}
|
|
|
|
private void e(String str) {
|
|
IronSourceNetwork.updateInitFailed(new rf(1001, str));
|
|
}
|
|
|
|
private l.a h() {
|
|
return new l.a() { // from class: com.ironsource.sdk.controller.e$$ExternalSyntheticLambda2
|
|
@Override // com.ironsource.sdk.controller.l.a
|
|
public final void a(f.a aVar) {
|
|
e.this.a(aVar);
|
|
}
|
|
};
|
|
}
|
|
|
|
private l.b i() {
|
|
return new l.b() { // from class: com.ironsource.sdk.controller.e$$ExternalSyntheticLambda0
|
|
@Override // com.ironsource.sdk.controller.l.b
|
|
public final void a(gl glVar) {
|
|
e.this.a(glVar);
|
|
}
|
|
};
|
|
}
|
|
|
|
private void k() {
|
|
Logger.i(this.a, "handleReadyState");
|
|
this.c = qf.b.Ready;
|
|
CountDownTimer countDownTimer = this.d;
|
|
if (countDownTimer != null) {
|
|
countDownTimer.cancel();
|
|
}
|
|
m();
|
|
this.f.c();
|
|
this.f.a();
|
|
com.ironsource.sdk.controller.l lVar = this.b;
|
|
if (lVar != null) {
|
|
lVar.e();
|
|
}
|
|
}
|
|
|
|
private boolean l() {
|
|
return qf.b.Ready.equals(this.c);
|
|
}
|
|
|
|
private void m() {
|
|
this.h.a(true);
|
|
com.ironsource.sdk.controller.l lVar = this.b;
|
|
if (lVar != null) {
|
|
lVar.a(this.h.i());
|
|
}
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
public void a() {
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
public void a(Activity activity) {
|
|
this.b.a(activity);
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
public void a(Context context) {
|
|
com.ironsource.sdk.controller.l lVar;
|
|
if (!l() || (lVar = this.b) == null) {
|
|
return;
|
|
}
|
|
lVar.a(context);
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
public void a(ha haVar) {
|
|
this.f.a(new RunnableC0181e(haVar));
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
public void a(ha haVar, Map<String, String> map, n9 n9Var) {
|
|
this.f.a(new g(haVar, map, n9Var));
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
public void a(ha haVar, Map<String, String> map, o9 o9Var) {
|
|
this.f.a(new b(haVar, map, o9Var));
|
|
}
|
|
|
|
@Override // com.ironsource.nd
|
|
public void a(jd jdVar) {
|
|
vp.a aVar;
|
|
sf sfVar;
|
|
StringBuilder sb;
|
|
ld b2 = jdVar.b();
|
|
if (b2 == ld.SendEvent) {
|
|
aVar = vp.A;
|
|
sfVar = new sf();
|
|
sb = new StringBuilder();
|
|
} else {
|
|
if (b2 != ld.NativeController) {
|
|
return;
|
|
}
|
|
com.ironsource.sdk.controller.n nVar = new com.ironsource.sdk.controller.n(jdVar.a(), this.g);
|
|
this.b = nVar;
|
|
this.k.a(nVar.g());
|
|
xf.a(vp.d, new sf().a(nb.A, jdVar.a() + " : strategy: " + b2).a());
|
|
aVar = vp.A;
|
|
sfVar = new sf();
|
|
sb = new StringBuilder();
|
|
}
|
|
sb.append(jdVar.a());
|
|
sb.append(" : strategy: ");
|
|
sb.append(b2);
|
|
xf.a(aVar, sfVar.a(nb.y, sb.toString()).a());
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
public void a(f.c cVar, l.a aVar) {
|
|
this.f.a(new h(aVar, cVar));
|
|
}
|
|
|
|
public void a(Runnable runnable) {
|
|
this.e.a(runnable);
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
public void a(String str, o9 o9Var) {
|
|
Logger.i(this.a, "load interstitial");
|
|
this.f.a(new r(str, o9Var));
|
|
}
|
|
|
|
public void a(String str, l.b bVar) {
|
|
this.j.put(str, bVar);
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
public void a(String str, String str2, ha haVar, n9 n9Var) {
|
|
if (this.h.a(g(), this.c)) {
|
|
a(qf.e.Banner, haVar, str, str2);
|
|
}
|
|
this.f.a(new c(str, str2, haVar, n9Var));
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
public void a(String str, String str2, ha haVar, o9 o9Var) {
|
|
if (this.h.a(g(), this.c)) {
|
|
a(qf.e.Interstitial, haVar, str, str2);
|
|
}
|
|
this.f.a(new q(str, str2, haVar, o9Var));
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
public void a(String str, String str2, ha haVar, p9 p9Var) {
|
|
if (this.h.a(g(), this.c)) {
|
|
a(qf.e.RewardedVideo, haVar, str, str2);
|
|
}
|
|
this.f.a(new o(str, str2, haVar, p9Var));
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
public void a(JSONObject jSONObject) {
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
public void a(JSONObject jSONObject, n9 n9Var) {
|
|
this.f.a(new d(jSONObject, n9Var));
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
public void a(JSONObject jSONObject, o9 o9Var) {
|
|
this.f.a(new a(jSONObject, o9Var));
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
public void a(JSONObject jSONObject, p9 p9Var) {
|
|
this.f.a(new p(jSONObject, p9Var));
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
public boolean a(String str) {
|
|
if (this.b == null || !l()) {
|
|
return false;
|
|
}
|
|
return this.b.a(str);
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.c
|
|
public void b() {
|
|
Logger.i(this.a, "handleControllerLoaded");
|
|
this.c = qf.b.Loaded;
|
|
this.e.c();
|
|
this.e.a();
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
public void b(Context context) {
|
|
com.ironsource.sdk.controller.l lVar;
|
|
if (!l() || (lVar = this.b) == null) {
|
|
return;
|
|
}
|
|
lVar.b(context);
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
public void b(ha haVar) {
|
|
this.f.a(new f(haVar));
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
public void b(ha haVar, Map<String, String> map, o9 o9Var) {
|
|
this.f.a(new s(haVar, map, o9Var));
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.c
|
|
public void b(String str) {
|
|
Logger.i(this.a, "handleControllerFailed ");
|
|
sf sfVar = new sf();
|
|
sfVar.a(nb.A, str);
|
|
sfVar.a(nb.y, String.valueOf(this.h.l()));
|
|
xf.a(vp.o, sfVar.a());
|
|
this.h.a(false);
|
|
e(str);
|
|
if (this.d != null) {
|
|
Logger.i(this.a, "cancel timer mControllerReadyTimer");
|
|
this.d.cancel();
|
|
}
|
|
d(str);
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
public void b(JSONObject jSONObject) {
|
|
this.f.a(new i(jSONObject));
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.c
|
|
public void c() {
|
|
Logger.i(this.a, "handleControllerReady ");
|
|
this.k.a(g());
|
|
if (qf.c.Web.equals(g())) {
|
|
xf.a(vp.e, new sf().a(nb.y, String.valueOf(this.h.l())).a());
|
|
IronSourceNetwork.updateInitSucceeded();
|
|
}
|
|
k();
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.c
|
|
public void c(String str) {
|
|
xf.a(vp.y, new sf().a(nb.y, str).a());
|
|
CountDownTimer countDownTimer = this.d;
|
|
if (countDownTimer != null) {
|
|
countDownTimer.cancel();
|
|
}
|
|
d(str);
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
public void d() {
|
|
com.ironsource.sdk.controller.l lVar;
|
|
if (!l() || (lVar = this.b) == null) {
|
|
return;
|
|
}
|
|
lVar.d();
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
public void destroy() {
|
|
Logger.i(this.a, "destroy controller");
|
|
CountDownTimer countDownTimer = this.d;
|
|
if (countDownTimer != null) {
|
|
countDownTimer.cancel();
|
|
}
|
|
k8 k8Var = this.f;
|
|
if (k8Var != null) {
|
|
k8Var.b();
|
|
}
|
|
this.d = null;
|
|
b(new j());
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
@Deprecated
|
|
public void e() {
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
public void f() {
|
|
com.ironsource.sdk.controller.l lVar;
|
|
if (!l() || (lVar = this.b) == null) {
|
|
return;
|
|
}
|
|
lVar.f();
|
|
}
|
|
|
|
@Override // com.ironsource.sdk.controller.l
|
|
public qf.c g() {
|
|
com.ironsource.sdk.controller.l lVar = this.b;
|
|
return lVar != null ? lVar.g() : qf.c.None;
|
|
}
|
|
|
|
public com.ironsource.sdk.controller.l j() {
|
|
return this.b;
|
|
}
|
|
}
|