正在查看: MX Player v1.97.8 应用的 HelpActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: MX Player v1.97.8 应用的 HelpActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.mxtech.videoplayer.ad.online.features.help;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.m.x.player.pandora.common.fromstack.FromStack;
import com.mxtech.videoplayer.ad.App;
import com.mxtech.videoplayer.ad.local.ActivityAboutOnlineTheme;
import com.mxtech.videoplayer.ad.online.features.creator.MxCreatorActivity;
import com.mxtech.videoplayer.ad.online.games.bean.GameTrackInfo;
import com.mxtech.videoplayer.ad.online.mxexo.WebLinksRouterActivity;
import defpackage.en2;
import defpackage.gfh;
import defpackage.kwd;
import defpackage.l2;
import defpackage.mdg;
import defpackage.shc;
import defpackage.tya;
import defpackage.weh;
import defpackage.y63;
import defpackage.z6h;
public class HelpActivity extends y63 implements View.OnClickListener {
public static void D6(Context context, FromStack fromStack) {
Intent intent = new Intent(context, (Class<?>) HelpActivity.class);
intent.putExtra(FromStack.FROM_LIST, fromStack);
context.startActivity(intent);
gfh.d(new mdg("helpPageShown", weh.c));
}
@Override
public final int C6() {
return 2131558466;
}
@Override
public void onClick(View view) {
int id = view.getId();
if (en2.a(400L)) {
}
switch (id) {
case 2131361815:
d0d.d1("about");
startActivity(new Intent((Context) this, (Class<?>) ActivityAboutOnlineTheme.class));
overridePendingTransition(2130772068, 2130772062);
break;
case 2131361946:
d0d.d1("adPreferences");
((App) tya.m).P(this, id, "me");
break;
case 2131362626:
d0d.d1("update");
new izh().p9(getSupportFragmentManager());
break;
case 2131363442:
d0d.d1("question");
((App) tya.m).P(this, id, "me");
break;
case 2131363476:
d0d.d1("features");
((App) tya.m).P(this, id, "me");
break;
case 2131365044:
d0d.d1("creator");
if (!shc.b(this)) {
z6h.b(2131889223, false);
break;
} else {
FromStack fromStack = getFromStack();
Intent intent = new Intent((Context) this, (Class<?>) MxCreatorActivity.class);
intent.putExtra(FromStack.FROM_LIST, fromStack);
startActivity(intent);
break;
}
case 2131365556:
d0d.d1("rateUs");
cce.n.g(false, this);
break;
case 2131365916:
d0d.d1("feedback");
startActivity(new Intent((Context) this, (Class<?>) BugReportActivity.class));
overridePendingTransition(2130772068, 2130772062);
break;
case 2131366449:
d0d.d1("telegram");
String b = byg.b();
FromStack fromStack2 = getFromStack();
if (b != null && b.length() != 0) {
String e = n46.e("\\s", b, "");
l2 l = psd.l(this, Uri.parse(e), fromStack2);
if (l == null) {
WebLinksRouterActivity.u6(this, fromStack2, e);
} else {
d0d.v0(Uri.parse(b), fromStack2);
l.a();
}
}
byg.e((String) null, byg.b(), "help");
break;
case 2131367803:
d0d.d1(GameTrackInfo.START_TYPE_NEW);
((App) tya.m).P(this, id, "me");
break;
}
}
@Override
public final void onCreate(Bundle bundle) {
super.onCreate(bundle);
k6(getString(2131888166));
findViewById(2131367803).setOnClickListener(this);
findViewById(2131363476).setOnClickListener(this);
findViewById(2131363442).setOnClickListener(this);
findViewById(2131362626).setOnClickListener(this);
findViewById(2131365916).setOnClickListener(this);
findViewById(2131365556).setOnClickListener(this);
findViewById(2131361815).setOnClickListener(this);
View findViewById = findViewById(2131365044);
findViewById.setVisibility(8);
findViewById.setOnClickListener(this);
if (findViewById(2131361946) != null) {
kwd.b();
}
View findViewById2 = findViewById(2131366449);
if (findViewById2 != null) {
tya tyaVar = tya.m;
if (twd.b().getInt("telegram_help_enable", 0) == 1) {
findViewById2.setVisibility(0);
findViewById2.setOnClickListener(this);
byg.f((String) null, byg.b(), "help");
String string = twd.b().getString("telegram_help_text", "");
String string2 = twd.b().getString("telegram_help_icon", "");
if (!TextUtils.isEmpty(string)) {
((TextView) findViewById2.findViewById(2131366450)).setText(string);
}
if (TextUtils.isEmpty(string2)) {
return;
}
sx9.j((ir4) null, (ImageView) findViewById2.findViewById(2131366445), string2);
}
}
}
}