Weather Tracker v1.0.0版本的 MD5 值为:3edef27647e42a8ea0e7c0d2dbf56f97
以下内容为反编译后的 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.ironsource.mediationsdk.utils.IronSourceConstants;
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 a;
public q(com.applovin.impl.sdk.o oVar) {
super("TaskInitializeSdk", oVar, true);
this.a = oVar;
}
private void b() {
Map<String, Object> d;
Map<String, Object> c;
if (this.a.e()) {
return;
}
boolean d2 = this.a.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.a.M() != null) {
if (d2) {
str = this.a.L().d().b() + " (use this for test devices)";
}
d = this.a.M().b();
c = this.a.M().h();
} else {
if (d2) {
str = this.a.K().l().b() + " (use this for test devices)";
}
d = this.a.K().d();
c = this.a.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.a.a(com.applovin.impl.sdk.c.b.eo)).a("Ad Review Version", com.applovin.impl.sdk.f.a()).a("OM SDK Version", this.a.ad().c());
pVar.a("===Device Info===").a("OS", com.applovin.impl.sdk.utils.w.f()).a(IronSourceConstants.TYPE_GAID, str).a(ExifInterface.TAG_MODEL, d.get("model")).a("Locale", d.get("locale")).a("Emulator", d.get("sim")).a("Tablet", d.get("is_tablet"));
pVar.a("===App Info===").a("Application ID", c.get(CampaignEx.JSON_KEY_PACKAGE_NAME)).a("Target SDK", c.get("target_sdk")).a("ExoPlayer Version", Integer.valueOf(com.applovin.impl.sdk.utils.w.g()));
pVar.a("===SDK Settings===").a("SDK Key", this.a.ax()).a("Mediation Provider", this.a.u()).a("TG", com.applovin.impl.sdk.utils.v.a(this.a)).a("AEI", this.a.a(com.applovin.impl.sdk.c.b.aw)).a("MEI", this.a.a(com.applovin.impl.sdk.c.b.ax)).a("Test Mode On", Boolean.valueOf(this.a.as().a())).a("Verbose Logging On", Boolean.valueOf(d2));
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 aa = this.a.aa();
pVar.a("===MAX Terms Flow===").a("Enabled", Boolean.valueOf(aa.b())).a("Privacy Policy URI", aa.d()).a("Terms of Service URI", aa.e());
pVar.a();
com.applovin.impl.sdk.y.f("AppLovinSdk", pVar.toString());
}
@Override
public void run() {
String str;
com.applovin.impl.sdk.y yVar;
String str2;
StringBuilder sb;
str = "succeeded";
long currentTimeMillis = System.currentTimeMillis();
if (com.applovin.impl.sdk.y.a()) {
com.applovin.impl.sdk.y yVar2 = this.h;
String str3 = this.g;
yVar2.b(str3, "Initializing AppLovin SDK v" + AppLovinSdk.VERSION + "...");
}
try {
this.a.J().d();
this.a.J().c(com.applovin.impl.sdk.d.f.e);
this.a.J().c(com.applovin.impl.sdk.d.f.f);
this.a.S().a(f());
this.a.S().b(f());
this.a.G().a(new e(this.a), r.b.MAIN);
if (this.a.M() != null) {
this.a.M().c();
} else {
this.a.K().e();
}
this.a.Y().a();
this.a.ac().a();
this.a.G().f();
if (com.applovin.impl.sdk.utils.w.a(f(), this.a)) {
this.a.j();
}
this.a.af().collectAppHubData();
b();
if (((Boolean) this.a.a(com.applovin.impl.sdk.c.b.eJ)).booleanValue()) {
AppLovinSdkUtils.runOnUiThread(new Runnable() {
@Override
public void run() {
af.a(q.this.a);
}
});
}
a();
this.a.a(true);
this.a.ai().c();
this.a.x().maybeTrackAppOpenEvent();
if ((this.a.ap().b() && !this.a.e()) || (((Boolean) this.a.a(com.applovin.impl.sdk.c.a.h)).booleanValue() && com.applovin.impl.sdk.utils.w.a(com.applovin.impl.sdk.o.au(), this.a) && this.a.f())) {
this.a.ap().a();
}
this.a.ad().a();
if (((Boolean) this.a.a(com.applovin.impl.sdk.c.b.aO)).booleanValue()) {
this.a.a(((Long) this.a.a(com.applovin.impl.sdk.c.b.aP)).longValue());
}
if (!com.applovin.impl.sdk.y.a()) {
return;
}
yVar = this.h;
str2 = this.g;
sb = new StringBuilder();
sb.append("AppLovin SDK ");
sb.append(AppLovinSdk.VERSION);
sb.append(" initialization ");
} catch (Throwable th) {
try {
com.applovin.impl.sdk.y.c("AppLovinSdk", "Failed to initialize SDK!", th);
this.a.a(false);
a(th);
if (((Boolean) this.a.a(com.applovin.impl.sdk.c.b.af)).booleanValue()) {
this.a.m();
}
this.a.ad().a();
if (((Boolean) this.a.a(com.applovin.impl.sdk.c.b.aO)).booleanValue()) {
this.a.a(((Long) this.a.a(com.applovin.impl.sdk.c.b.aP)).longValue());
}
if (!com.applovin.impl.sdk.y.a()) {
return;
}
yVar = this.h;
str2 = this.g;
sb = new StringBuilder();
sb.append("AppLovin SDK ");
sb.append(AppLovinSdk.VERSION);
sb.append(" initialization ");
} catch (Throwable th2) {
this.a.ad().a();
if (((Boolean) this.a.a(com.applovin.impl.sdk.c.b.aO)).booleanValue()) {
this.a.a(((Long) this.a.a(com.applovin.impl.sdk.c.b.aP)).longValue());
}
if (com.applovin.impl.sdk.y.a()) {
com.applovin.impl.sdk.y yVar3 = this.h;
String str4 = this.g;
StringBuilder sb2 = new StringBuilder();
sb2.append("AppLovin SDK ");
sb2.append(AppLovinSdk.VERSION);
sb2.append(" initialization ");
sb2.append(this.a.d() ? "succeeded" : "failed");
sb2.append(" in ");
sb2.append(System.currentTimeMillis() - currentTimeMillis);
sb2.append("ms");
yVar3.b(str4, sb2.toString());
}
throw th2;
}
}
}
private void a() {
if (this.a.al().a()) {
return;
}
Activity at = this.a.at();
if (at != null) {
this.a.al().a(at);
} else {
this.a.G().a(new ac(this.a, true, "initializeAdapters", new Runnable() {
@Override
public void run() {
q.this.a.al().a(q.this.a.E().a());
}
}), r.b.MAIN, TimeUnit.SECONDS.toMillis(1L));
}
}
}