Live Football Updates v1.0版本的 MD5 值为:95609b5a5bec0a5f5a0b6e8e4d8f1cba
以下内容为反编译后的 q2.java 源代码,内容仅作参考
package pa;
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 com.ironsource.eb;
import com.ironsource.mediationsdk.utils.IronSourceConstants;
import java.math.BigInteger;
import java.util.Arrays;
import java.util.List;
import java.util.Locale;
public final class q2 extends e3 {
public String f29059d;
public String f29060e;
public int f29061f;
public String f29062g;
public long f29063h;
public final long i;
public List f29064j;
public String f29065k;
public int f29066l;
public String f29067m;
public String f29068n;
public String f29069o;
public long f29070p;
public String f29071q;
public q2(b4 b4Var, long j4) {
super(b4Var);
this.f29070p = 0L;
this.f29071q = null;
this.i = j4;
}
@Override
public final boolean i() {
return true;
}
public final void j() {
String str;
String str2;
boolean z10;
int h10;
List<String> list;
Bundle n10;
Integer valueOf;
String q10;
String str3;
String str4;
Object obj = this.f27026b;
b4 b4Var = (b4) obj;
String packageName = b4Var.f28603a.getPackageName();
PackageManager packageManager = b4Var.f28603a.getPackageManager();
String str5 = "Unknown";
int i = Integer.MIN_VALUE;
String str6 = "";
String str7 = IronSourceConstants.a.f19527d;
if (packageManager == null) {
y2 y2Var = b4Var.i;
b4.g(y2Var);
y2Var.f29238g.b(y2.p(packageName), "PackageManager is null, app identity information might be inaccurate. appId");
} else {
try {
str7 = packageManager.getInstallerPackageName(packageName);
} catch (IllegalArgumentException unused) {
y2 y2Var2 = b4Var.i;
b4.g(y2Var2);
y2Var2.f29238g.b(y2.p(packageName), "Error retrieving app installer package name. appId");
}
if (str7 == null) {
str7 = "manual_install";
} else if (eb.f18403b.equals(str7)) {
str7 = "";
}
try {
PackageInfo packageInfo = packageManager.getPackageInfo(((b4) obj).f28603a.getPackageName(), 0);
if (packageInfo != null) {
CharSequence applicationLabel = packageManager.getApplicationLabel(packageInfo.applicationInfo);
if (TextUtils.isEmpty(applicationLabel)) {
str2 = "Unknown";
} else {
str2 = applicationLabel.toString();
}
try {
str5 = packageInfo.versionName;
i = packageInfo.versionCode;
} catch (PackageManager.NameNotFoundException unused2) {
str = str5;
str5 = str2;
y2 y2Var3 = b4Var.i;
b4.g(y2Var3);
y2Var3.f29238g.c(y2.p(packageName), str5, "Error retrieving package info. appId, appName");
str5 = str;
this.f29059d = packageName;
this.f29062g = str7;
this.f29060e = str5;
this.f29061f = i;
this.f29063h = 0L;
if (TextUtils.isEmpty(b4Var.f28604b)) {
}
z10 = false;
h10 = b4Var.h();
switch (h10) {
}
this.f29067m = "";
this.f29068n = "";
b4Var.getClass();
if (z10) {
}
list = null;
q10 = b1.a.q(((b4) obj).f28603a, ((b4) obj).f28620s);
if (TextUtils.isEmpty(q10)) {
}
this.f29067m = str6;
if (!TextUtils.isEmpty(q10)) {
}
if (h10 == 0) {
}
this.f29064j = null;
b4Var.getClass();
f fVar = b4Var.f28609g;
fVar.getClass();
x9.l.f("analytics.safelisted_events");
n10 = fVar.n();
Object obj2 = fVar.f27026b;
if (n10 != null) {
}
valueOf = null;
if (valueOf != null) {
}
if (list != null) {
}
this.f29064j = list;
if (packageManager == null) {
}
}
}
} catch (PackageManager.NameNotFoundException unused3) {
str = "Unknown";
}
}
this.f29059d = packageName;
this.f29062g = str7;
this.f29060e = str5;
this.f29061f = i;
this.f29063h = 0L;
if (TextUtils.isEmpty(b4Var.f28604b) && "am".equals(b4Var.f28605c)) {
z10 = true;
} else {
z10 = false;
}
h10 = b4Var.h();
switch (h10) {
case 0:
y2 y2Var4 = b4Var.i;
b4.g(y2Var4);
y2Var4.f29245o.a("App measurement collection enabled");
break;
case 1:
y2 y2Var5 = b4Var.i;
b4.g(y2Var5);
y2Var5.f29243m.a("App measurement deactivated via the manifest");
break;
case 2:
y2 y2Var6 = b4Var.i;
b4.g(y2Var6);
y2Var6.f29245o.a("App measurement deactivated via the init parameters");
break;
case 3:
y2 y2Var7 = b4Var.i;
b4.g(y2Var7);
y2Var7.f29243m.a("App measurement disabled by setAnalyticsCollectionEnabled(false)");
break;
case 4:
y2 y2Var8 = b4Var.i;
b4.g(y2Var8);
y2Var8.f29243m.a("App measurement disabled via the manifest");
break;
case 5:
y2 y2Var9 = b4Var.i;
b4.g(y2Var9);
y2Var9.f29245o.a("App measurement disabled via the init parameters");
break;
case 6:
y2 y2Var10 = b4Var.i;
b4.g(y2Var10);
y2Var10.f29242l.a("App measurement deactivated via resources. This method is being deprecated. Please refer to https://firebase.google.com/support/guides/disable-analytics");
break;
case 7:
y2 y2Var11 = b4Var.i;
b4.g(y2Var11);
y2Var11.f29243m.a("App measurement disabled via the global data collection setting");
break;
default:
y2 y2Var12 = b4Var.i;
b4.g(y2Var12);
y2Var12.f29243m.a("App measurement disabled due to denied storage consent");
break;
}
this.f29067m = "";
this.f29068n = "";
b4Var.getClass();
if (z10) {
this.f29068n = b4Var.f28604b;
}
list = null;
try {
q10 = b1.a.q(((b4) obj).f28603a, ((b4) obj).f28620s);
if (TextUtils.isEmpty(q10)) {
str6 = q10;
}
this.f29067m = str6;
if (!TextUtils.isEmpty(q10)) {
Context context = ((b4) obj).f28603a;
String str8 = ((b4) obj).f28620s;
x9.l.j(context);
Resources resources = context.getResources();
if (TextUtils.isEmpty(str8)) {
str8 = w3.a(context);
}
int identifier = resources.getIdentifier("admob_app_id", "string", str8);
if (identifier != 0) {
try {
str4 = resources.getString(identifier);
} catch (Resources.NotFoundException unused4) {
str4 = null;
}
this.f29068n = str4;
}
str4 = null;
this.f29068n = str4;
}
if (h10 == 0) {
y2 y2Var13 = ((b4) obj).i;
b4.g(y2Var13);
w2 w2Var = y2Var13.f29245o;
String str9 = this.f29059d;
if (TextUtils.isEmpty(this.f29067m)) {
str3 = this.f29068n;
} else {
str3 = this.f29067m;
}
w2Var.c(str9, str3, "App measurement enabled for app package, google app id");
}
} catch (IllegalStateException e10) {
y2 y2Var14 = b4Var.i;
b4.g(y2Var14);
y2Var14.f29238g.c(y2.p(packageName), e10, "Fetching Google App Id failed with exception. appId");
}
this.f29064j = null;
b4Var.getClass();
f fVar2 = b4Var.f28609g;
fVar2.getClass();
x9.l.f("analytics.safelisted_events");
n10 = fVar2.n();
Object obj22 = fVar2.f27026b;
if (n10 != null) {
y2 y2Var15 = ((b4) obj22).i;
b4.g(y2Var15);
y2Var15.f29238g.a("Failed to load metadata: Metadata bundle is null");
} else if (n10.containsKey("analytics.safelisted_events")) {
valueOf = Integer.valueOf(n10.getInt("analytics.safelisted_events"));
if (valueOf != null) {
try {
String[] stringArray = ((b4) obj22).f28603a.getResources().getStringArray(valueOf.intValue());
if (stringArray != null) {
list = Arrays.asList(stringArray);
}
} catch (Resources.NotFoundException e11) {
y2 y2Var16 = ((b4) obj22).i;
b4.g(y2Var16);
y2Var16.f29238g.b(e11, "Failed to load string array from metadata: resource not found");
}
}
if (list != null) {
if (list.isEmpty()) {
y2 y2Var17 = b4Var.i;
b4.g(y2Var17);
y2Var17.f29242l.a("Safelisted event list is empty. Ignoring");
} else {
for (String str10 : list) {
g7 g7Var = b4Var.f28613l;
b4.e(g7Var);
if (!g7Var.Q("safelisted event", str10)) {
}
}
}
if (packageManager == null) {
this.f29066l = da.a.j(b4Var.f28603a) ? 1 : 0;
return;
} else {
this.f29066l = 0;
return;
}
}
this.f29064j = list;
if (packageManager == null) {
}
}
valueOf = null;
if (valueOf != null) {
}
if (list != null) {
}
this.f29064j = list;
if (packageManager == null) {
}
}
public final String k() {
e();
x9.l.j(this.f29059d);
return this.f29059d;
}
public final String l() {
c();
e();
x9.l.j(this.f29067m);
return this.f29067m;
}
public final void n() {
String format;
String str;
c();
b4 b4Var = (b4) this.f27026b;
m3 m3Var = b4Var.f28610h;
b4.e(m3Var);
if (!m3Var.l().f(r4.ANALYTICS_STORAGE)) {
y2 y2Var = b4Var.i;
b4.g(y2Var);
y2Var.f29244n.a("Analytics Storage consent is not granted");
format = null;
} else {
byte[] bArr = new byte[16];
g7 g7Var = b4Var.f28613l;
b4.e(g7Var);
g7Var.p().nextBytes(bArr);
format = String.format(Locale.US, "%032x", new BigInteger(1, bArr));
}
y2 y2Var2 = b4Var.i;
b4.g(y2Var2);
Object[] objArr = new Object[1];
if (format == null) {
str = "null";
} else {
str = "not null";
}
objArr[0] = str;
y2Var2.f29244n.a(String.format("Resetting session stitching token to %s", objArr));
this.f29069o = format;
b4Var.f28615n.getClass();
this.f29070p = System.currentTimeMillis();
}
}