Recover Files v1.3.9版本的 MD5 值为:27a8b2c239c6cb7111d74d6bb07d21b2
以下内容为反编译后的 q.java 源代码,内容仅作参考
package com.applovin.impl.sdk.e;
import android.app.Activity;
import androidx.exifinterface.media.ExifInterface;
import com.applovin.impl.sdk.af;
import com.applovin.impl.sdk.e.r;
import com.applovin.sdk.AppLovinSdk;
import com.applovin.sdk.AppLovinSdkUtils;
import com.mbridge.msdk.foundation.entity.CampaignEx;
import java.util.Map;
import java.util.concurrent.TimeUnit;
public class q extends d {
private final com.applovin.impl.sdk.o f11053a;
public q(com.applovin.impl.sdk.o oVar) {
super("TaskInitializeSdk", oVar, true);
this.f11053a = oVar;
}
private void b() {
Map<String, Object> d10;
Map<String, Object> c10;
if (!this.f11053a.e()) {
boolean d11 = this.f11053a.H().d();
String str = "<Enable verbose logging to see the GAID to use for test devices - https://monetization-support.applovin.com/hc/en-us/articles/236114328-How-can-I-expose-verbose-logging-for-the-SDK>";
if (this.f11053a.M() != null) {
if (d11) {
str = this.f11053a.L().d().b() + " (use this for test devices)";
}
d10 = this.f11053a.M().b();
c10 = this.f11053a.M().h();
} else {
if (d11) {
str = this.f11053a.K().l().b() + " (use this for test devices)";
}
d10 = this.f11053a.K().d();
c10 = this.f11053a.K().c();
}
com.applovin.impl.sdk.utils.p pVar = new com.applovin.impl.sdk.utils.p();
pVar.a().a("=====AppLovin SDK=====");
pVar.a("===SDK Versions===").a("Version", AppLovinSdk.VERSION).a("Plugin Version", this.f11053a.a(com.applovin.impl.sdk.c.b.eo)).a("Ad Review Version", com.applovin.impl.sdk.f.a()).a("OM SDK Version", this.f11053a.ad().c());
pVar.a("===Device Info===").a("OS", com.applovin.impl.sdk.utils.w.f()).a("GAID", str).a(ExifInterface.TAG_MODEL, d10.get(b5.a.f876e)).a("Locale", d10.get("locale")).a("Emulator", d10.get("sim")).a("Tablet", d10.get("is_tablet"));
pVar.a("===App Info===").a("Application ID", c10.get(CampaignEx.JSON_KEY_PACKAGE_NAME)).a("Target SDK", c10.get("target_sdk")).a("ExoPlayer Version", Integer.valueOf(com.applovin.impl.sdk.utils.w.g()));
pVar.a("===SDK Settings===").a("SDK Key", this.f11053a.ax()).a("Mediation Provider", this.f11053a.u()).a("TG", com.applovin.impl.sdk.utils.v.a(this.f11053a)).a("AEI", this.f11053a.a(com.applovin.impl.sdk.c.b.aw)).a("MEI", this.f11053a.a(com.applovin.impl.sdk.c.b.ax)).a("Test Mode On", Boolean.valueOf(this.f11053a.as().a())).a("Verbose Logging On", Boolean.valueOf(d11));
pVar.a("===Privacy States===\nPlease review AppLovin MAX documentation to be compliant with regional privacy policies.").a(com.applovin.impl.b.a.a(f()));
com.applovin.impl.b.a.b aa2 = this.f11053a.aa();
pVar.a("===MAX Terms Flow===").a("Enabled", Boolean.valueOf(aa2.b())).a("Privacy Policy URI", aa2.d()).a("Terms of Service URI", aa2.e());
pVar.a();
com.applovin.impl.sdk.y.f("AppLovinSdk", pVar.toString());
}
}
@Override
public void run() {
com.applovin.impl.sdk.y yVar;
String str;
StringBuilder sb2;
String str2 = com.facebook.internal.a.T;
long currentTimeMillis = System.currentTimeMillis();
if (com.applovin.impl.sdk.y.a()) {
this.f10994h.b(this.f10993g, "Initializing AppLovin SDK v" + AppLovinSdk.VERSION + "...");
}
try {
this.f11053a.J().d();
this.f11053a.J().c(com.applovin.impl.sdk.d.f.f10925e);
this.f11053a.J().c(com.applovin.impl.sdk.d.f.f10926f);
this.f11053a.S().a(f());
this.f11053a.S().b(f());
this.f11053a.G().a(new e(this.f11053a), r.b.MAIN);
if (this.f11053a.M() != null) {
this.f11053a.M().c();
} else {
this.f11053a.K().e();
}
this.f11053a.Y().a();
this.f11053a.ac().a();
this.f11053a.G().f();
if (com.applovin.impl.sdk.utils.w.a(f(), this.f11053a)) {
this.f11053a.j();
}
this.f11053a.af().collectAppHubData();
b();
if (((Boolean) this.f11053a.a(com.applovin.impl.sdk.c.b.eJ)).booleanValue()) {
AppLovinSdkUtils.runOnUiThread(new Runnable() {
@Override
public void run() {
af.a(q.this.f11053a);
}
});
}
a();
this.f11053a.a(true);
this.f11053a.ai().c();
this.f11053a.x().maybeTrackAppOpenEvent();
if ((this.f11053a.ap().b() && !this.f11053a.e()) || (((Boolean) this.f11053a.a(com.applovin.impl.sdk.c.a.f10755h)).booleanValue() && com.applovin.impl.sdk.utils.w.a(com.applovin.impl.sdk.o.au(), this.f11053a) && this.f11053a.f())) {
this.f11053a.ap().a();
}
this.f11053a.ad().a();
if (((Boolean) this.f11053a.a(com.applovin.impl.sdk.c.b.aO)).booleanValue()) {
this.f11053a.a(((Long) this.f11053a.a(com.applovin.impl.sdk.c.b.aP)).longValue());
}
if (com.applovin.impl.sdk.y.a()) {
yVar = this.f10994h;
str = this.f10993g;
sb2 = new StringBuilder("AppLovin SDK ");
sb2.append(AppLovinSdk.VERSION);
sb2.append(" initialization ");
}
} catch (Throwable th2) {
try {
com.applovin.impl.sdk.y.c("AppLovinSdk", "Failed to initialize SDK!", th2);
this.f11053a.a(false);
a(th2);
if (((Boolean) this.f11053a.a(com.applovin.impl.sdk.c.b.f10778af)).booleanValue()) {
this.f11053a.m();
}
this.f11053a.ad().a();
if (((Boolean) this.f11053a.a(com.applovin.impl.sdk.c.b.aO)).booleanValue()) {
this.f11053a.a(((Long) this.f11053a.a(com.applovin.impl.sdk.c.b.aP)).longValue());
}
if (com.applovin.impl.sdk.y.a()) {
yVar = this.f10994h;
str = this.f10993g;
sb2 = new StringBuilder("AppLovin SDK ");
sb2.append(AppLovinSdk.VERSION);
sb2.append(" initialization ");
}
} catch (Throwable th3) {
this.f11053a.ad().a();
if (((Boolean) this.f11053a.a(com.applovin.impl.sdk.c.b.aO)).booleanValue()) {
this.f11053a.a(((Long) this.f11053a.a(com.applovin.impl.sdk.c.b.aP)).longValue());
}
if (com.applovin.impl.sdk.y.a()) {
com.applovin.impl.sdk.y yVar2 = this.f10994h;
String str3 = this.f10993g;
StringBuilder sb3 = new StringBuilder("AppLovin SDK ");
sb3.append(AppLovinSdk.VERSION);
sb3.append(" initialization ");
if (!this.f11053a.d()) {
str2 = "failed";
}
sb3.append(str2);
sb3.append(" in ");
sb3.append(System.currentTimeMillis() - currentTimeMillis);
sb3.append("ms");
yVar2.b(str3, sb3.toString());
}
throw th3;
}
}
}
private void a() {
if (this.f11053a.al().a()) {
return;
}
Activity at = this.f11053a.at();
if (at != null) {
this.f11053a.al().a(at);
} else {
this.f11053a.G().a(new ac(this.f11053a, true, "initializeAdapters", new Runnable() {
@Override
public void run() {
q.this.f11053a.al().a(q.this.f11053a.E().a());
}
}), r.b.MAIN, TimeUnit.SECONDS.toMillis(1L));
}
}
}