AutoTagger v3.4.1版本的 MD5 值为:a384f1d3927c61eef47ac4a8b3d71389
以下内容为反编译后的 xHsHygQf7fqqjDH.java 源代码,内容仅作参考
package fcku;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.res.Resources;
import android.os.Bundle;
import android.text.TextUtils;
import java.math.BigInteger;
import java.util.Arrays;
import java.util.List;
import java.util.Locale;
import java.util.Objects;
import org.checkerframework.checker.nullness.qual.EnsuresNonNull;
import org.jaudiotagger.tag.id3.framebody.FrameBodyCOMM;
public final class xHsHygQf7fqqjDH extends U0px1PE5LhxCWmJNZq {
public String GEbllHUy2l;
public String H3jv4RBPS609lDCtG;
public String HRNBIuVQ2Vb19z;
public List Hkt8IqIYWF6;
public int KtPiZg27ZAIz7;
public String LDAydjzHDH8;
public int LS5VNW9eExZnZPOp;
public String SrPtO1NZy3kB5XU;
public long ZN7i7McbMu;
public final long gu7O4vNIQwya4y;
public String nBJJCWjib8t2Zqby9;
public long tY8HjlFibSPQSBpSPsg;
public String toqf7CY65bGa70vU;
public String zGyOKL3LvVLZRvi;
public xHsHygQf7fqqjDH(NtVakAwTVpT0Faa ntVakAwTVpT0Faa, long j) {
super(ntVakAwTVpT0Faa);
this.ZN7i7McbMu = 0L;
this.SrPtO1NZy3kB5XU = null;
this.gu7O4vNIQwya4y = j;
}
public final void Zsf156fLi3mwueGFTnq() {
String format;
Fld2Qlc0itlPMuI0z();
if (!this.oGzwn2K6Dd8d.ua185vu0OsgqBH4Y().AJkpu1LD5bAFwmbQGUa().rMdnDFHejPH(gJZM72OMt9XVvowH9.ANALYTICS_STORAGE)) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().LDAydjzHDH8.a1OLiUMlyR0knNZCYyD("Analytics Storage consent is not granted");
format = null;
} else {
byte[] bArr = new byte[16];
this.oGzwn2K6Dd8d.Hkt8IqIYWF6().ua185vu0OsgqBH4Y().nextBytes(bArr);
format = String.format(Locale.US, "%032x", new BigInteger(1, bArr));
}
iaQ6AUQUbn iaq6auqubn = this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().LDAydjzHDH8;
Object[] objArr = new Object[1];
objArr[0] = format == null ? "null" : "not null";
iaq6auqubn.a1OLiUMlyR0knNZCYyD(String.format("Resetting session stitching token to %s", objArr));
this.zGyOKL3LvVLZRvi = format;
Objects.requireNonNull((gL9WrNczKNpCf) this.oGzwn2K6Dd8d.zGyOKL3LvVLZRvi);
this.ZN7i7McbMu = System.currentTimeMillis();
}
@Override
public final boolean d7mLQI4SwADEiUWSh() {
return true;
}
public final String hFuEzhIVCqNaiEU() {
sN05x3HSOqocsuPp();
Objects.requireNonNull(this.GEbllHUy2l, "null reference");
return this.GEbllHUy2l;
}
@EnsuresNonNull({"appId", "appStore", "appName", "gmpAppId", "gaAppId"})
public final void uk37ZXPHgT2GevstUL() {
String str;
boolean z;
int hFuEzhIVCqNaiEU;
List<String> list;
Bundle oGzwn2K6Dd8d;
Integer valueOf;
String rCLeDffL3zZGEQ2nSz;
String str2;
String packageName = this.oGzwn2K6Dd8d.oGzwn2K6Dd8d.getPackageName();
PackageManager packageManager = this.oGzwn2K6Dd8d.oGzwn2K6Dd8d.getPackageManager();
String str3 = "unknown";
String str4 = "Unknown";
int i = Integer.MIN_VALUE;
String str5 = FrameBodyCOMM.DEFAULT;
if (packageManager == null) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().H3jv4RBPS609lDCtG.A8oxFMwUNLNF("PackageManager is null, app identity information might be inaccurate. appId", TNxeUbSr3leKls31.ua185vu0OsgqBH4Y(packageName));
} else {
try {
str3 = packageManager.getInstallerPackageName(packageName);
} catch (IllegalArgumentException unused) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().H3jv4RBPS609lDCtG.A8oxFMwUNLNF("Error retrieving app installer package name. appId", TNxeUbSr3leKls31.ua185vu0OsgqBH4Y(packageName));
}
if (str3 == null) {
str3 = "manual_install";
} else if ("com.android.vending".equals(str3)) {
str3 = FrameBodyCOMM.DEFAULT;
}
try {
PackageInfo packageInfo = packageManager.getPackageInfo(this.oGzwn2K6Dd8d.oGzwn2K6Dd8d.getPackageName(), 0);
if (packageInfo != null) {
CharSequence applicationLabel = packageManager.getApplicationLabel(packageInfo.applicationInfo);
String charSequence = !TextUtils.isEmpty(applicationLabel) ? applicationLabel.toString() : "Unknown";
try {
str4 = packageInfo.versionName;
i = packageInfo.versionCode;
} catch (PackageManager.NameNotFoundException unused2) {
str = str4;
str4 = charSequence;
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().H3jv4RBPS609lDCtG.CgNSGVIfezzyuR("Error retrieving package info. appId, appName", TNxeUbSr3leKls31.ua185vu0OsgqBH4Y(packageName), str4);
str4 = str;
this.GEbllHUy2l = packageName;
this.H3jv4RBPS609lDCtG = str3;
this.HRNBIuVQ2Vb19z = str4;
this.KtPiZg27ZAIz7 = i;
this.tY8HjlFibSPQSBpSPsg = 0L;
if (TextUtils.isEmpty(this.oGzwn2K6Dd8d.ua185vu0OsgqBH4Y)) {
}
hFuEzhIVCqNaiEU = this.oGzwn2K6Dd8d.hFuEzhIVCqNaiEU();
switch (hFuEzhIVCqNaiEU) {
}
this.nBJJCWjib8t2Zqby9 = FrameBodyCOMM.DEFAULT;
this.LDAydjzHDH8 = FrameBodyCOMM.DEFAULT;
Objects.requireNonNull(this.oGzwn2K6Dd8d);
if (z) {
}
list = null;
NtVakAwTVpT0Faa ntVakAwTVpT0Faa = this.oGzwn2K6Dd8d;
rCLeDffL3zZGEQ2nSz = FRlVsWTBiP.rCLeDffL3zZGEQ2nSz(ntVakAwTVpT0Faa.oGzwn2K6Dd8d, "google_app_id", ntVakAwTVpT0Faa.SozbIYE6EV);
if (true != TextUtils.isEmpty(rCLeDffL3zZGEQ2nSz)) {
}
this.nBJJCWjib8t2Zqby9 = str5;
if (!TextUtils.isEmpty(rCLeDffL3zZGEQ2nSz)) {
}
if (hFuEzhIVCqNaiEU == 0) {
}
this.Hkt8IqIYWF6 = null;
Objects.requireNonNull(this.oGzwn2K6Dd8d);
JmJvNc1Wad6VB jmJvNc1Wad6VB = this.oGzwn2K6Dd8d.tY8HjlFibSPQSBpSPsg;
Objects.requireNonNull(jmJvNc1Wad6VB);
VdhyXdX5nCQt.d7mLQI4SwADEiUWSh("analytics.safelisted_events");
oGzwn2K6Dd8d = jmJvNc1Wad6VB.oGzwn2K6Dd8d();
if (oGzwn2K6Dd8d != null) {
}
valueOf = null;
if (valueOf != null) {
}
if (list != null) {
}
this.Hkt8IqIYWF6 = list;
if (packageManager == null) {
}
}
}
} catch (PackageManager.NameNotFoundException unused3) {
str = "Unknown";
}
}
this.GEbllHUy2l = packageName;
this.H3jv4RBPS609lDCtG = str3;
this.HRNBIuVQ2Vb19z = str4;
this.KtPiZg27ZAIz7 = i;
this.tY8HjlFibSPQSBpSPsg = 0L;
z = TextUtils.isEmpty(this.oGzwn2K6Dd8d.ua185vu0OsgqBH4Y) && "am".equals(this.oGzwn2K6Dd8d.GEbllHUy2l);
hFuEzhIVCqNaiEU = this.oGzwn2K6Dd8d.hFuEzhIVCqNaiEU();
switch (hFuEzhIVCqNaiEU) {
case 0:
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().zGyOKL3LvVLZRvi.a1OLiUMlyR0knNZCYyD("App measurement collection enabled");
break;
case 1:
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().nBJJCWjib8t2Zqby9.a1OLiUMlyR0knNZCYyD("App measurement deactivated via the manifest");
break;
case 2:
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().zGyOKL3LvVLZRvi.a1OLiUMlyR0knNZCYyD("App measurement deactivated via the init parameters");
break;
case 3:
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().nBJJCWjib8t2Zqby9.a1OLiUMlyR0knNZCYyD("App measurement disabled by setAnalyticsCollectionEnabled(false)");
break;
case 4:
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().nBJJCWjib8t2Zqby9.a1OLiUMlyR0knNZCYyD("App measurement disabled via the manifest");
break;
case 5:
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().zGyOKL3LvVLZRvi.a1OLiUMlyR0knNZCYyD("App measurement disabled via the init parameters");
break;
case 6:
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().LS5VNW9eExZnZPOp.a1OLiUMlyR0knNZCYyD("App measurement deactivated via resources. This method is being deprecated. Please refer to https://firebase.google.com/support/guides/disable-analytics");
break;
case 7:
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().nBJJCWjib8t2Zqby9.a1OLiUMlyR0knNZCYyD("App measurement disabled via the global data collection setting");
break;
default:
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().nBJJCWjib8t2Zqby9.a1OLiUMlyR0knNZCYyD("App measurement disabled due to denied storage consent");
break;
}
this.nBJJCWjib8t2Zqby9 = FrameBodyCOMM.DEFAULT;
this.LDAydjzHDH8 = FrameBodyCOMM.DEFAULT;
Objects.requireNonNull(this.oGzwn2K6Dd8d);
if (z) {
this.LDAydjzHDH8 = this.oGzwn2K6Dd8d.ua185vu0OsgqBH4Y;
}
list = null;
try {
NtVakAwTVpT0Faa ntVakAwTVpT0Faa2 = this.oGzwn2K6Dd8d;
rCLeDffL3zZGEQ2nSz = FRlVsWTBiP.rCLeDffL3zZGEQ2nSz(ntVakAwTVpT0Faa2.oGzwn2K6Dd8d, "google_app_id", ntVakAwTVpT0Faa2.SozbIYE6EV);
if (true != TextUtils.isEmpty(rCLeDffL3zZGEQ2nSz)) {
str5 = rCLeDffL3zZGEQ2nSz;
}
this.nBJJCWjib8t2Zqby9 = str5;
if (!TextUtils.isEmpty(rCLeDffL3zZGEQ2nSz)) {
NtVakAwTVpT0Faa ntVakAwTVpT0Faa3 = this.oGzwn2K6Dd8d;
Context context = ntVakAwTVpT0Faa3.oGzwn2K6Dd8d;
String str6 = ntVakAwTVpT0Faa3.SozbIYE6EV;
Objects.requireNonNull(context, "null reference");
Resources resources = context.getResources();
if (TextUtils.isEmpty(str6)) {
str6 = nGw8qSa2ZN.a1OLiUMlyR0knNZCYyD(context);
}
int identifier = resources.getIdentifier("admob_app_id", "string", str6);
if (identifier != 0) {
try {
str2 = resources.getString(identifier);
} catch (Resources.NotFoundException unused4) {
str2 = null;
}
this.LDAydjzHDH8 = str2;
}
str2 = null;
this.LDAydjzHDH8 = str2;
}
if (hFuEzhIVCqNaiEU == 0) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().zGyOKL3LvVLZRvi.CgNSGVIfezzyuR("App measurement enabled for app package, google app id", this.GEbllHUy2l, TextUtils.isEmpty(this.nBJJCWjib8t2Zqby9) ? this.LDAydjzHDH8 : this.nBJJCWjib8t2Zqby9);
}
} catch (IllegalStateException e) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().H3jv4RBPS609lDCtG.CgNSGVIfezzyuR("Fetching Google App Id failed with exception. appId", TNxeUbSr3leKls31.ua185vu0OsgqBH4Y(packageName), e);
}
this.Hkt8IqIYWF6 = null;
Objects.requireNonNull(this.oGzwn2K6Dd8d);
JmJvNc1Wad6VB jmJvNc1Wad6VB2 = this.oGzwn2K6Dd8d.tY8HjlFibSPQSBpSPsg;
Objects.requireNonNull(jmJvNc1Wad6VB2);
VdhyXdX5nCQt.d7mLQI4SwADEiUWSh("analytics.safelisted_events");
oGzwn2K6Dd8d = jmJvNc1Wad6VB2.oGzwn2K6Dd8d();
if (oGzwn2K6Dd8d != null) {
jmJvNc1Wad6VB2.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().H3jv4RBPS609lDCtG.a1OLiUMlyR0knNZCYyD("Failed to load metadata: Metadata bundle is null");
} else if (oGzwn2K6Dd8d.containsKey("analytics.safelisted_events")) {
valueOf = Integer.valueOf(oGzwn2K6Dd8d.getInt("analytics.safelisted_events"));
if (valueOf != null) {
try {
String[] stringArray = jmJvNc1Wad6VB2.oGzwn2K6Dd8d.oGzwn2K6Dd8d.getResources().getStringArray(valueOf.intValue());
if (stringArray != null) {
list = Arrays.asList(stringArray);
}
} catch (Resources.NotFoundException e2) {
jmJvNc1Wad6VB2.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().H3jv4RBPS609lDCtG.A8oxFMwUNLNF("Failed to load string array from metadata: resource not found", e2);
}
}
if (list != null) {
if (list.isEmpty()) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().LS5VNW9eExZnZPOp.a1OLiUMlyR0knNZCYyD("Safelisted event list is empty. Ignoring");
} else {
for (String str7 : list) {
if (!this.oGzwn2K6Dd8d.Hkt8IqIYWF6().trK8OHrvuYcf1KY6("safelisted event", str7)) {
}
}
}
if (packageManager == null) {
this.LS5VNW9eExZnZPOp = LGbDqKQx22tZZS.ua185vu0OsgqBH4Y(this.oGzwn2K6Dd8d.oGzwn2K6Dd8d) ? 1 : 0;
return;
} else {
this.LS5VNW9eExZnZPOp = 0;
return;
}
}
this.Hkt8IqIYWF6 = list;
if (packageManager == null) {
}
}
valueOf = null;
if (valueOf != null) {
}
if (list != null) {
}
this.Hkt8IqIYWF6 = list;
if (packageManager == null) {
}
}
public final String x6xiCTV6GxJsjvhgZ() {
J2RRc4Y4bfN.ua185vu0OsgqBH4Y.a1OLiUMlyR0knNZCYyD().a1OLiUMlyR0knNZCYyD();
if (this.oGzwn2K6Dd8d.tY8HjlFibSPQSBpSPsg.HRNBIuVQ2Vb19z(null, YBm9p1SPl6P15xUL.TGyCkGMArBCyfz28)) {
Fld2Qlc0itlPMuI0z();
}
sN05x3HSOqocsuPp();
Objects.requireNonNull(this.nBJJCWjib8t2Zqby9, "null reference");
return this.nBJJCWjib8t2Zqby9;
}
}