Puzzle King v2.3.8版本的 MD5 值为:1734eb975c9d2843afa462aec387292e
以下内容为反编译后的 q.java 源代码,内容仅作参考
package com.applovin.impl.sdk;
import android.content.pm.PackageInfo;
import android.os.Build;
import androidx.browser.trusted.sharing.ShareTarget;
import com.applovin.sdk.AppLovinSdk;
import com.facebook.devicerequests.internal.DeviceRequestsHelper;
import com.safedk.android.analytics.AppLovinBridge;
import java.util.HashMap;
import java.util.Map;
public abstract class q {
protected final n a;
protected final w b;
private final String c;
public q(String str, n nVar) {
this.c = str;
this.a = nVar;
this.b = nVar.B();
}
private Map<String, String> b(Map<String, String> map) {
HashMap hashMap = new HashMap();
hashMap.put("type", this.c);
hashMap.put(AppLovinBridge.e, this.a.X().f());
hashMap.put("applovin_random_token", this.a.o());
hashMap.put("compass_random_token", this.a.n());
hashMap.put(DeviceRequestsHelper.DEVICE_INFO_MODEL, Build.MODEL);
hashMap.put("brand", Build.MANUFACTURER);
hashMap.put("brand_name", Build.BRAND);
hashMap.put("hardware", Build.HARDWARE);
hashMap.put("revision", Build.DEVICE);
hashMap.put("os", Build.VERSION.RELEASE);
hashMap.put("api_level", String.valueOf(Build.VERSION.SDK_INT));
hashMap.put("sdk_version", String.valueOf(AppLovinSdk.VERSION));
c(hashMap);
d(hashMap);
if (map != null) {
hashMap.putAll(map);
}
return hashMap;
}
private void c(Map<String, String> map) {
PackageInfo packageInfo;
try {
packageInfo = this.a.N().getPackageManager().getPackageInfo(this.a.N().getPackageName(), 0);
} catch (Throwable unused) {
packageInfo = null;
}
map.put("app_version", packageInfo != null ? packageInfo.versionName : "");
map.put("app_version_code", String.valueOf(packageInfo != null ? packageInfo.versionCode : 0));
}
private void d(Map<String, String> map) {
String str;
Object c = this.a.ag().c();
if (c instanceof com.applovin.impl.sdk.ad.e) {
map.put("fs_ad_network", "AppLovin");
str = Long.toString(((com.applovin.impl.sdk.ad.e) c).getAdIdNumber());
} else if (c instanceof com.applovin.impl.mediation.a.a) {
com.applovin.impl.mediation.a.a aVar = (com.applovin.impl.mediation.a.a) c;
map.put("fs_ad_network", aVar.getNetworkName());
str = aVar.getCreativeId();
} else {
str = "None";
map.put("fs_ad_network", "None");
}
map.put("fs_ad_creative_id", str);
}
public void a(Map<String, String> map) {
this.b.b("ErrorReporter", "Reporting " + this.c + " error...");
this.a.W().a(com.applovin.impl.sdk.network.h.o().c("https://ms.applovin.com/1.0/sdk/error").a(false).b(ShareTarget.METHOD_POST).a(b(map)).a());
}
}