Live Football Updates v1.0.1版本的 MD5 值为:636649089335ebb37514551724606ad0
以下内容为反编译后的 d.java 源代码,内容仅作参考
package e;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Bundle;
import android.text.TextUtils;
import android.widget.RelativeLayout;
import androidx.appcompat.widget.h2;
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout;
import c2.n;
import c2.p;
import com.applive.app.StartActivity;
import com.applive.app.ui.activities.MyWebViewActivity;
import com.applive.app.ui.activities.modules.ModuleWebViewActivity;
import com.facebook.ads.AdSize;
import com.facebook.internal.k0;
import com.google.android.gms.ads.AdView;
import com.google.android.gms.tasks.TaskCompletionSource;
import com.google.android.gms.tasks.Tasks;
import com.google.firebase.messaging.FirebaseMessaging;
import com.ironsource.environment.thread.IronSourceThreadManager;
import com.ironsource.gd;
import com.ironsource.ja;
import com.ironsource.mediationsdk.ISBannerSize;
import com.ironsource.mediationsdk.IronSource;
import com.ironsource.mediationsdk.IronSourceBannerLayout;
import com.ironsource.mediationsdk.testSuite.TestSuiteActivity;
import java.util.Objects;
import java.util.concurrent.CountDownLatch;
import lj.c0;
import lj.d0;
import lj.y;
public final class d implements Runnable {
public final int f21945a;
public final Object f21946b;
public d(int i, Object obj) {
this.f21945a = i;
this.f21946b = obj;
}
private final void a() {
k0.f(this.f21946b);
ti.j.f(null, "this$0");
throw null;
}
@Override
public final void run() {
ISBannerSize iSBannerSize;
AdSize adSize;
boolean z10;
ISBannerSize iSBannerSize2;
AdSize adSize2;
boolean z11;
Context applicationContext;
PackageManager packageManager;
ApplicationInfo applicationInfo;
Bundle bundle;
char c10 = 65535;
boolean z12 = true;
switch (this.f21945a) {
case 0:
((j) this.f21946b).invalidateOptionsMenu();
return;
case 1:
((h2) this.f21946b).a();
return;
case 2:
((b2.a) this.f21946b).d(null);
return;
case 3:
((n.a) ((p.a) this.f21946b)).a();
return;
case 4:
f2.f fVar = (f2.f) this.f21946b;
synchronized (fVar.f22541a) {
if (!fVar.f22552m) {
long j4 = fVar.f22551l - 1;
fVar.f22551l = j4;
int i = (j4 > 0L ? 1 : (j4 == 0L ? 0 : -1));
if (i <= 0) {
if (i < 0) {
fVar.b(new IllegalStateException());
return;
} else {
fVar.a();
return;
}
}
return;
}
return;
}
case 5:
((z3.r) this.f21946b).k();
return;
case 6:
a();
throw null;
case 7:
androidx.work.impl.background.systemalarm.c.c((androidx.work.impl.background.systemalarm.c) this.f21946b);
return;
case 8:
Context context = (Context) this.f21946b;
int i10 = StartActivity.f4338y;
try {
lj.w a10 = i7.r.a(5L, 5L);
a10.f26227a.k();
y.a aVar = new y.a();
String f10 = ae.d.d().f("ip_api_json_url");
if (TextUtils.isEmpty(f10)) {
f10 = "http://ip-api.com/json/";
}
aVar.e(f10);
c0 e10 = new pj.e(a10, aVar.a(), false).e();
if (e10.b()) {
d0 d0Var = e10.f26082g;
Objects.requireNonNull(d0Var);
String f11 = d0Var.f();
if (!TextUtils.isEmpty(f11)) {
context.getSharedPreferences(androidx.preference.e.a(context), 0).edit().putString("ip_api_json", f11).apply();
return;
}
return;
}
return;
} catch (Exception unused) {
return;
}
case 9:
MyWebViewActivity myWebViewActivity = (MyWebViewActivity) this.f21946b;
int i11 = MyWebViewActivity.f4365e0;
if (!myWebViewActivity.isDestroyed() && !myWebViewActivity.isFinishing()) {
if (!i7.t.j(myWebViewActivity)) {
String f12 = ae.d.d().f("default_banner_ads_webview_top");
switch (f12.hashCode()) {
case -1843522813:
if (f12.equals("ironSource")) {
z10 = false;
break;
}
z10 = true;
break;
case 92668925:
if (f12.equals("admob")) {
z10 = true;
break;
}
z10 = true;
break;
case 497130182:
if (f12.equals("facebook")) {
z10 = true;
break;
}
z10 = true;
break;
default:
z10 = true;
break;
}
switch (z10) {
case false:
String f13 = ae.d.d().f("ironSource_banner_id_webview");
if (TextUtils.isEmpty(f13)) {
f13 = i7.u.r();
}
if (i7.l.w(myWebViewActivity)) {
iSBannerSize2 = ISBannerSize.LARGE;
} else {
iSBannerSize2 = ISBannerSize.BANNER;
}
IronSourceBannerLayout createBanner = IronSource.createBanner(myWebViewActivity, iSBannerSize2);
myWebViewActivity.O = createBanner;
i7.c.k(myWebViewActivity, createBanner, f13, false);
break;
case true:
myWebViewActivity.M = new AdView(myWebViewActivity);
String f14 = ae.d.d().f("admob_banner_id_webview");
if (TextUtils.isEmpty(f14)) {
f14 = i7.u.a();
}
i7.c.a(myWebViewActivity, myWebViewActivity.M, f14, false);
break;
case true:
String f15 = ae.d.d().f("facebook_banner_id_webview");
if (TextUtils.isEmpty(f15)) {
f15 = i7.u.m();
}
if (i7.l.w(myWebViewActivity)) {
adSize2 = AdSize.BANNER_HEIGHT_90;
} else {
adSize2 = AdSize.BANNER_HEIGHT_50;
}
com.facebook.ads.AdView adView = new com.facebook.ads.AdView(myWebViewActivity, f15, adSize2);
myWebViewActivity.N = adView;
i7.c.e(myWebViewActivity, adView, false);
break;
}
}
if (!i7.t.j(myWebViewActivity)) {
String f16 = ae.d.d().f("default_banner_ads_webview");
switch (f16.hashCode()) {
case -1843522813:
if (f16.equals("ironSource")) {
c10 = 0;
break;
}
break;
case 92668925:
if (f16.equals("admob")) {
c10 = 1;
break;
}
break;
case 497130182:
if (f16.equals("facebook")) {
c10 = 2;
break;
}
break;
}
switch (c10) {
case 0:
String f17 = ae.d.d().f("ironSource_banner_id_webview");
if (TextUtils.isEmpty(f17)) {
f17 = i7.u.r();
}
if (i7.l.w(myWebViewActivity)) {
iSBannerSize = ISBannerSize.LARGE;
} else {
iSBannerSize = ISBannerSize.BANNER;
}
IronSourceBannerLayout createBanner2 = IronSource.createBanner(myWebViewActivity, iSBannerSize);
myWebViewActivity.R = createBanner2;
i7.c.k(myWebViewActivity, createBanner2, f17, true);
return;
case 1:
myWebViewActivity.P = new AdView(myWebViewActivity);
String f18 = ae.d.d().f("admob_banner_id_webview");
if (TextUtils.isEmpty(f18)) {
f18 = i7.u.a();
}
i7.c.a(myWebViewActivity, myWebViewActivity.P, f18, true);
return;
case 2:
String f19 = ae.d.d().f("facebook_banner_id_webview");
if (TextUtils.isEmpty(f19)) {
f19 = i7.u.m();
}
if (i7.l.w(myWebViewActivity)) {
adSize = AdSize.BANNER_HEIGHT_90;
} else {
adSize = AdSize.BANNER_HEIGHT_50;
}
com.facebook.ads.AdView adView2 = new com.facebook.ads.AdView(myWebViewActivity, f19, adSize);
myWebViewActivity.Q = adView2;
i7.c.e(myWebViewActivity, adView2, true);
return;
default:
return;
}
}
return;
}
return;
case 10:
ModuleWebViewActivity moduleWebViewActivity = (ModuleWebViewActivity) this.f21946b;
String str = ModuleWebViewActivity.f4378j0;
if (!moduleWebViewActivity.isDestroyed() && !moduleWebViewActivity.isFinishing() && !i7.t.k(moduleWebViewActivity)) {
moduleWebViewActivity.C0(ae.d.d().f("default_banner_ads_module_webview_top"), false);
moduleWebViewActivity.B0(ae.d.d().f("default_banner_ads_module_webview"), false);
return;
}
return;
case 11:
SwipeRefreshLayout swipeRefreshLayout = ((e7.k) this.f21946b).d0;
if (swipeRefreshLayout != null) {
swipeRefreshLayout.setRefreshing(false);
return;
}
return;
case 12:
SwipeRefreshLayout swipeRefreshLayout2 = ((e7.x) this.f21946b).d0;
if (swipeRefreshLayout2 != null) {
swipeRefreshLayout2.setRefreshing(true);
return;
}
return;
case 13:
m9.l lVar = (m9.l) this.f21946b;
lVar.getClass();
lVar.f26641d.a(new w1.t(10, lVar));
return;
case 14:
default:
TestSuiteActivity testSuiteActivity = (TestSuiteActivity) this.f21946b;
int i12 = TestSuiteActivity.f19524d;
ti.j.f(testSuiteActivity, "this$0");
gd gdVar = testSuiteActivity.f19526b;
if (gdVar != null) {
if (gdVar.c().getParent() == null) {
RelativeLayout relativeLayout = testSuiteActivity.f19525a;
if (relativeLayout != null) {
gd gdVar2 = testSuiteActivity.f19526b;
if (gdVar2 != null) {
relativeLayout.removeView(gdVar2.d());
RelativeLayout relativeLayout2 = testSuiteActivity.f19525a;
if (relativeLayout2 != null) {
gd gdVar3 = testSuiteActivity.f19526b;
if (gdVar3 != null) {
relativeLayout2.addView(gdVar3.c(), new RelativeLayout.LayoutParams(-1, -1));
gd gdVar4 = testSuiteActivity.f19526b;
if (gdVar4 != null) {
gdVar4.b();
return;
} else {
ti.j.m("mWebViewWrapper");
throw null;
}
}
ti.j.m("mWebViewWrapper");
throw null;
}
ti.j.m("mContainer");
throw null;
}
ti.j.m("mWebViewWrapper");
throw null;
}
ti.j.m("mContainer");
throw null;
}
return;
}
ti.j.m("mWebViewWrapper");
throw null;
case 15:
((nb.c) this.f21946b).a(true);
return;
case 16:
Object obj = sd.e.f30674m;
((sd.e) this.f21946b).b(false);
return;
case 17:
Context context2 = ((FirebaseMessaging) this.f21946b).f17706d;
Context applicationContext2 = context2.getApplicationContext();
if (applicationContext2 == null) {
applicationContext2 = context2;
}
if (!applicationContext2.getSharedPreferences("com.google.firebase.messaging", 0).getBoolean("proxy_notification_initialized", false)) {
try {
applicationContext = context2.getApplicationContext();
packageManager = applicationContext.getPackageManager();
} catch (PackageManager.NameNotFoundException unused2) {
}
if (packageManager != null && (applicationInfo = packageManager.getApplicationInfo(applicationContext.getPackageName(), 128)) != null && (bundle = applicationInfo.metaData) != null && bundle.containsKey("firebase_messaging_notification_delegation_enabled")) {
z11 = applicationInfo.metaData.getBoolean("firebase_messaging_notification_delegation_enabled");
if (Build.VERSION.SDK_INT < 29) {
z12 = false;
}
if (z12) {
Tasks.forResult(null);
return;
}
TaskCompletionSource taskCompletionSource = new TaskCompletionSource();
new e5.q(context2, z11, taskCompletionSource).run();
taskCompletionSource.getTask();
return;
}
z11 = true;
if (Build.VERSION.SDK_INT < 29) {
}
if (z12) {
}
} else {
return;
}
break;
case 18:
CountDownLatch countDownLatch = (CountDownLatch) this.f21946b;
IronSourceThreadManager ironSourceThreadManager = IronSourceThreadManager.INSTANCE;
ti.j.f(countDownLatch, "$latch");
countDownLatch.countDown();
return;
case 19:
ja jaVar = (ja) this.f21946b;
ti.j.f(jaVar, "this$0");
jaVar.s();
return;
}
}
}