Weather Tracker v1.0.0版本的 MD5 值为:3edef27647e42a8ea0e7c0d2dbf56f97
以下内容为反编译后的 p.java 源代码,内容仅作参考
package com.fyber.inneractive.sdk.flow;
import android.text.TextUtils;
import com.fyber.inneractive.sdk.config.IAConfigManager;
import com.fyber.inneractive.sdk.external.InneractiveAdRequest;
import com.fyber.inneractive.sdk.network.s;
import com.fyber.inneractive.sdk.response.e;
import com.fyber.inneractive.sdk.util.IAlog;
import org.json.JSONArray;
import org.json.JSONObject;
public abstract class p<T extends com.fyber.inneractive.sdk.response.e> extends q<T> {
public com.fyber.inneractive.sdk.web.t g;
public final com.fyber.inneractive.sdk.ignite.j h;
public p(com.fyber.inneractive.sdk.config.b0 b0Var, com.fyber.inneractive.sdk.config.global.s sVar) {
super(b0Var, sVar);
this.h = new a();
}
@Override
public void a(String str) {
com.fyber.inneractive.sdk.ignite.k kVar;
com.fyber.inneractive.sdk.ignite.k kVar2 = com.fyber.inneractive.sdk.ignite.k.NONE;
T t = this.f2514b;
if (t != null) {
com.fyber.inneractive.sdk.ignite.k kVar3 = t.F;
kVar3.getClass();
kVar = com.fyber.inneractive.sdk.ignite.k.SINGLE_TAP;
if (!(kVar3 == kVar)) {
if (this.f2514b.F.e() && !isVideoAd()) {
((a) this.h).a(com.fyber.inneractive.sdk.network.q.IGNITE_FLOW_MODE_NOT_COMPATIBLE, null, null, null);
} else {
kVar = this.f2514b.F;
}
}
} else {
kVar = kVar2;
}
if (j()) {
T t2 = this.f2514b;
String str2 = t2 != null ? t2.y : null;
com.fyber.inneractive.sdk.web.v vVar = new com.fyber.inneractive.sdk.web.v();
vVar.a = str2;
vVar.f2970b = kVar;
vVar.c = str;
vVar.d = this.c;
vVar.e = t2 != null ? t2.E : null;
vVar.f = t2 != null ? t2.G : null;
vVar.g = this.h;
com.fyber.inneractive.sdk.web.t tVar = new com.fyber.inneractive.sdk.web.t(vVar);
this.g = tVar;
com.fyber.inneractive.sdk.config.global.features.p pVar = (com.fyber.inneractive.sdk.config.global.features.p) this.c.a(com.fyber.inneractive.sdk.config.global.features.p.class);
if (pVar == null || str2 == null) {
return;
}
String a2 = pVar.a("detail_url", "https://cdn2.inner-active.mobi/app-detail-page-v0/[BUNDLE_ID].html");
tVar.g(a2 == null ? "" : a2.replace("[BUNDLE_ID]", str2));
return;
}
T t3 = this.f2514b;
if (t3 != null) {
t3.a(kVar2);
}
}
@Override
public com.fyber.inneractive.sdk.web.t c() {
return this.g;
}
@Override
public boolean f() {
com.fyber.inneractive.sdk.web.t tVar = this.g;
return tVar != null && tVar.l;
}
@Override
public void i() {
boolean z = true;
if (j()) {
com.fyber.inneractive.sdk.web.t tVar = this.g;
if (!(tVar != null && tVar.l)) {
T t = this.f2514b;
if (t != null) {
}
}
}
z = false;
if (z) {
IAlog.a("ignite webpage was not loaded yet, stopping the loading process", new Object[0]);
this.f2514b.a(com.fyber.inneractive.sdk.ignite.k.NONE);
com.fyber.inneractive.sdk.web.t tVar2 = this.g;
if (tVar2 != null) {
Runnable runnable = tVar2.p;
if (runnable != null) {
com.fyber.inneractive.sdk.util.m.f2940b.removeCallbacks(runnable);
tVar2.p = null;
}
if (!tVar2.y) {
tVar2.a.stopLoading();
}
((a) this.h).a(com.fyber.inneractive.sdk.network.q.IGNITE_FLOW_FAILED_TO_LOAD_WEBPAGE, this.g.k, com.fyber.inneractive.sdk.ignite.i.WEBPAGE_NOT_LOADED_BEFORE_SHOW.e(), this.f2514b.F);
}
}
}
public final boolean j() {
com.fyber.inneractive.sdk.ignite.c cVar = IAConfigManager.M.E;
T t = this.f2514b;
return t != null && t.b() && cVar != null && cVar.d();
}
public class a implements com.fyber.inneractive.sdk.ignite.j {
public a() {
}
public void a(com.fyber.inneractive.sdk.network.r rVar, com.fyber.inneractive.sdk.ignite.k kVar) {
p pVar = p.this;
InneractiveAdRequest inneractiveAdRequest = pVar.a;
T t = pVar.f2514b;
com.fyber.inneractive.sdk.config.global.s sVar = pVar.c;
JSONArray c = sVar != null ? sVar.c() : null;
s.a aVar = new s.a(t);
aVar.c = rVar;
aVar.a = inneractiveAdRequest;
aVar.d = c;
JSONObject jSONObject = new JSONObject();
String f = kVar.f();
try {
jSONObject.put("ignitem", f);
} catch (Exception unused) {
IAlog.e("Got exception adding param to json object: %s, %s", "ignitem", f);
}
aVar.f.put(jSONObject);
aVar.a((String) null);
}
public void a(com.fyber.inneractive.sdk.network.q qVar, String str, String str2, com.fyber.inneractive.sdk.ignite.k kVar) {
p pVar = p.this;
InneractiveAdRequest inneractiveAdRequest = pVar.a;
T t = pVar.f2514b;
com.fyber.inneractive.sdk.config.global.s sVar = pVar.c;
JSONArray c = sVar != null ? sVar.c() : null;
s.a aVar = new s.a(t);
aVar.f2579b = qVar;
aVar.a = inneractiveAdRequest;
aVar.d = c;
JSONObject jSONObject = new JSONObject();
if (kVar != null) {
String f = kVar.f();
try {
jSONObject.put("ignitem", f);
} catch (Exception unused) {
IAlog.e("Got exception adding param to json object: %s, %s", "ignitem", f);
}
}
if (!TextUtils.isEmpty(str)) {
try {
jSONObject.put("message", str);
} catch (Exception unused2) {
IAlog.e("Got exception adding param to json object: %s, %s", "message", str);
}
}
if (!TextUtils.isEmpty(str2)) {
try {
jSONObject.put("error_code", str2);
} catch (Exception unused3) {
IAlog.e("Got exception adding param to json object: %s, %s", "error_code", str2);
}
}
aVar.f.put(jSONObject);
aVar.a((String) null);
}
}
@Override
public boolean a(boolean z, com.fyber.inneractive.sdk.util.e eVar) {
com.fyber.inneractive.sdk.ignite.k kVar;
T t = this.f2514b;
if (t != null) {
kVar = t.F;
} else {
kVar = com.fyber.inneractive.sdk.ignite.k.NONE;
}
return !z && kVar != null && kVar.e() && (eVar == com.fyber.inneractive.sdk.util.e.VIDEO_CTA || eVar == com.fyber.inneractive.sdk.util.e.DEFAULT_ENDCARD);
}
}