正在查看: MX Player v1.97.8 应用的 WhyAddShortcutActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: MX Player v1.97.8 应用的 WhyAddShortcutActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.mxtech.videoplayer.utils.shortcut;
import android.os.Build;
import android.os.Bundle;
import android.view.ViewGroup;
import android.view.ViewStub;
import android.view.Window;
import android.widget.LinearLayout;
import androidx.appcompat.widget.AppCompatImageView;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.core.widget.NestedScrollView;
import com.mxtech.utils.DispatcherUtil;
import com.mxtech.videoplayer.utils.nonet.NoNetworkTipsView;
import com.mxtech.videoplayer.utils.shortcut.a;
import com.mxtech.videoplayer.utils.shortcut.view.ShortcutPhoneImageInstructionsView;
import com.mxtech.videoplayer.utils.shortcut.view.ShortcutPhoneTipsView;
import com.mxtech.widget.MXImmersiveLinearLayout;
import com.vungle.ads.internal.protos.Sdk$SDKMetric;
import defpackage.a7;
import defpackage.aji;
import defpackage.cs3;
import defpackage.ec1;
import defpackage.fs3;
import defpackage.g43;
import defpackage.gvf;
import defpackage.he1;
import defpackage.hvi;
import defpackage.sje;
import defpackage.xd;
import kotlin.Metadata;
import kotlin.coroutines.CoroutineContext;
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0016\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\u0004"}, d2 = {"Lcom/mxtech/videoplayer/utils/shortcut/WhyAddShortcutActivity;", "Lqya;", "<init>", "()V", "transfer_bridge_release"}, k = 1, mv = {2, 0, 0}, xi = Sdk$SDKMetric.b.AD_SHOW_TO_VALIDATION_DURATION_MS_VALUE)
public class WhyAddShortcutActivity extends qya {
public static final int w = 0;
public xd t;
public NoNetworkTipsView u;
public LinearLayout v;
public final void onCreate(Bundle bundle) {
int h = i0g.b().h("online_base_activity");
if (h == 0) {
h = tya.m.n();
}
if (h != 0) {
setTheme(h);
}
super.onCreate(bundle);
xd xdVar = null;
ConstraintLayout inflate = getLayoutInflater().inflate(2131558438, (ViewGroup) null, false);
int i = 2131363978;
if (((MXImmersiveLinearLayout) a7.o(2131363978, inflate)) != null) {
i = 2131364192;
AppCompatImageView o = a7.o(2131364192, inflate);
if (o != null) {
i = 2131364274;
AppCompatImageView o2 = a7.o(2131364274, inflate);
if (o2 != null) {
i = 2131364589;
if (((LinearLayout) a7.o(2131364589, inflate)) != null) {
i = 2131365832;
NestedScrollView o3 = a7.o(2131365832, inflate);
if (o3 != null) {
i = 2131367323;
if (a7.o(2131367323, inflate) != null) {
i = 2131367689;
ShortcutPhoneImageInstructionsView shortcutPhoneImageInstructionsView = (ShortcutPhoneImageInstructionsView) a7.o(2131367689, inflate);
if (shortcutPhoneImageInstructionsView != null) {
i = 2131367690;
ShortcutPhoneTipsView shortcutPhoneTipsView = (ShortcutPhoneTipsView) a7.o(2131367690, inflate);
if (shortcutPhoneTipsView != null) {
i = 2131367691;
ShortcutPhoneTipsView shortcutPhoneTipsView2 = (ShortcutPhoneTipsView) a7.o(2131367691, inflate);
if (shortcutPhoneTipsView2 != null) {
i = 2131367692;
ShortcutPhoneTipsView shortcutPhoneTipsView3 = (ShortcutPhoneTipsView) a7.o(2131367692, inflate);
if (shortcutPhoneTipsView3 != null) {
i = 2131367748;
ViewStub viewStub = (ViewStub) a7.o(2131367748, inflate);
if (viewStub != null) {
ConstraintLayout constraintLayout = inflate;
this.t = new xd(constraintLayout, o, o2, o3, shortcutPhoneImageInstructionsView, shortcutPhoneTipsView, shortcutPhoneTipsView2, shortcutPhoneTipsView3, viewStub);
setContentView(constraintLayout);
if (gl0.e(this)) {
Window window = getWindow();
window.getDecorView().setSystemUiVisibility(1280);
window.addFlags(Integer.MIN_VALUE);
window.setStatusBarColor(0);
Boolean b = h0g.b();
boolean booleanValue = b != null ? b.booleanValue() : i0g.b().j();
Boolean a = h0g.a();
boolean booleanValue2 = a != null ? a.booleanValue() : i0g.b().j();
Window window2 = getWindow();
p3g p3gVar = new p3g(window2.getDecorView());
int i2 = Build.VERSION.SDK_INT;
iwi iwiVar = i2 >= 30 ? new iwi(window2, p3gVar) : i2 >= 26 ? new hwi(window2, p3gVar) : new gwi(window2, p3gVar);
iwiVar.I(booleanValue);
iwiVar.H(booleanValue2);
}
xd xdVar2 = this.t;
if (xdVar2 == null) {
xdVar2 = null;
}
xdVar2.b.setOnClickListener(new he1(this, 16));
xd xdVar3 = this.t;
if (xdVar3 == null) {
xdVar3 = null;
}
xdVar3.c.setOnClickListener(new cg2(this, 9));
xd xdVar4 = this.t;
if (xdVar4 == null) {
xdVar4 = null;
}
xdVar4.h.s(a.EnumC0052a.b);
xd xdVar5 = this.t;
if (xdVar5 == null) {
xdVar5 = null;
}
xdVar5.g.s(a.EnumC0052a.c);
xd xdVar6 = this.t;
if (xdVar6 == null) {
xdVar6 = null;
}
xdVar6.f.s(a.EnumC0052a.d);
xd xdVar7 = this.t;
if (xdVar7 == null) {
xdVar7 = null;
}
?? r15 = xdVar7.e;
gvf.a aVar = gvf.b;
int size = aVar.e().size();
for (int i3 = 0; i3 < size; i3++) {
int intValue = aVar.e().get(i3).intValue();
String str = (String) g43.c("https://assets-7.mxplay.com/icons/b92f860565fefc974a177ac512084cac.webp", "https://assets-7.mxplay.com/icons/e296f79e25f009eb4cba8e5adfa92161.webp", "https://assets-7.mxplay.com/icons/37f3187e892de25c3e53b5c11408d6fe.webp", "https://assets-7.mxplay.com/icons/7d7d39779d6f42038082c697bea77e50.webp", "https://assets-7.mxplay.com/icons/003cdfeb1b3efc722497956403bc3937.webp", "https://assets-7.mxplay.com/icons/a7ab638da349dac5b6b39f09c9ece9c8.webp").get(i3);
String obj = r15.getContext().getText(intValue).toString();
aji ajiVar = r15.u;
switch (i3) {
case 0:
?? r9 = ajiVar.b;
ConstraintLayout constraintLayout2 = ajiVar.c;
r9.setView(obj, str, true);
r9.setVisibility(0);
constraintLayout2.setVisibility(4);
break;
case 1:
?? r8 = ajiVar.c;
r8.setView(obj, str, true);
r8.setVisibility(0);
break;
case 2:
ShortcutPhoneImageInstructionsView.s(ajiVar.d, ajiVar.e, obj, str);
break;
case 3:
ShortcutPhoneImageInstructionsView.s(ajiVar.e, null, obj, str);
break;
case 4:
ShortcutPhoneImageInstructionsView.s(ajiVar.f, ajiVar.g, obj, str);
break;
case 5:
ShortcutPhoneImageInstructionsView.s(ajiVar.g, null, obj, str);
break;
case 6:
ShortcutPhoneImageInstructionsView.s(ajiVar.h, ajiVar.i, obj, str);
break;
case 7:
ShortcutPhoneImageInstructionsView.s(ajiVar.i, null, obj, str);
break;
}
}
sje sjeVar = new sje();
sje sjeVar2 = new sje();
DispatcherUtil.Companion.getClass();
xfg.C(cs3.a(DispatcherUtil.a.a()), (CoroutineContext) null, (fs3) null, new hvi(sjeVar2, sjeVar, this, null), 3);
if (tya.m.getSharedPreferences("transpot_share_pref", 0).getBoolean("shortcut_tips_activity_network_view_shown", true)) {
try {
xd xdVar8 = this.t;
if (xdVar8 == null) {
xdVar8 = null;
}
xdVar8.i.inflate();
xd xdVar9 = this.t;
if (xdVar9 == null) {
xdVar9 = null;
}
LinearLayout linearLayout = (LinearLayout) findViewById(xdVar9.i.getInflatedId());
this.v = linearLayout;
NoNetworkTipsView noNetworkTipsView = linearLayout != null ? (NoNetworkTipsView) linearLayout.findViewById(2131367680) : null;
this.u = noNetworkTipsView;
if (noNetworkTipsView != null) {
noNetworkTipsView.setTipsTextRes(2131890297);
noNetworkTipsView.setNetworkCallback(new ec1(this, 10));
}
if (shc.b(this)) {
xd xdVar10 = this.t;
if (xdVar10 != null) {
xdVar = xdVar10;
}
xdVar.i.setVisibility(8);
return;
}
return;
} catch (Exception unused) {
return;
}
}
return;
}
}
}
}
}
}
}
}
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i)));
}
public final void d6(int i) {
}
}