正在查看: Share Any v2.1.7 应用的 SettingsActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Share Any v2.1.7 应用的 SettingsActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package net.shareany.app.activity;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.Menu;
import android.view.MenuItem;
import android.view.ViewGroup;
import androidx.activity.l;
import androidx.appcompat.widget.Toolbar;
import androidx.coordinatorlayout.widget.CoordinatorLayout;
import com.allen.library.SuperTextView;
import com.genonbeta.TrebleShot.ad.OpenAdManager;
import com.google.android.material.appbar.AppBarLayout;
import com.google.android.material.appbar.CollapsingToolbarLayout;
import ed.b;
import ed.j;
import k3.a;
import m5.h;
import s5.d;
public class SettingsActivity extends b {
public static final int C = 0;
public d B;
@Override
public void onCreate(Bundle bundle) {
String str;
super.onCreate(bundle);
CoordinatorLayout inflate = getLayoutInflater().inflate(2131492903, (ViewGroup) null, false);
int i = 2131296392;
AppBarLayout c = l.c(inflate, 2131296392);
if (c != null) {
i = 2131297016;
Toolbar c2 = l.c(inflate, 2131297016);
if (c2 != null) {
i = 2131297017;
CollapsingToolbarLayout c3 = l.c(inflate, 2131297017);
if (c3 != null) {
i = 2131297042;
SuperTextView c4 = l.c(inflate, 2131297042);
if (c4 != null) {
i = 2131297044;
SuperTextView c5 = l.c(inflate, 2131297044);
if (c5 != null) {
i = 2131297057;
SuperTextView c6 = l.c(inflate, 2131297057);
if (c6 != null) {
i = 2131297068;
SuperTextView c7 = l.c(inflate, 2131297068);
if (c7 != null) {
i = 2131297073;
SuperTextView c8 = l.c(inflate, 2131297073);
if (c8 != null) {
i = 2131297076;
SuperTextView c9 = l.c(inflate, 2131297076);
if (c9 != null) {
i = 2131297082;
SuperTextView c10 = l.c(inflate, 2131297082);
if (c10 != null) {
CoordinatorLayout coordinatorLayout = inflate;
this.B = new d(coordinatorLayout, c, c2, c3, c4, c5, c6, c7, c8, c9, c10);
setContentView(coordinatorLayout);
w((Toolbar) this.B.c);
if (u() != null) {
u().m(true);
}
SuperTextView superTextView = (SuperTextView) this.B.g;
String c11 = ud.b.c(this, ud.b.b());
a aVar = superTextView.d;
if (aVar != null) {
aVar.setCenterTextString(c11);
}
SuperTextView superTextView2 = (SuperTextView) this.B.k;
try {
str = getPackageManager().getPackageInfo(getPackageName(), 0).versionName;
} catch (PackageManager.NameNotFoundException e) {
e.printStackTrace();
str = "";
}
a aVar2 = superTextView2.d;
if (aVar2 != null) {
aVar2.setCenterTextString(str);
}
((SuperTextView) this.B.e).setOnClickListener(new j(this, 0));
((SuperTextView) this.B.g).setOnClickListener(new j(this, 1));
((SuperTextView) this.B.h).setOnClickListener(new j(this, 2));
((SuperTextView) this.B.j).setOnClickListener(new j(this, 3));
((SuperTextView) this.B.i).setOnClickListener(new j(this, 4));
return;
}
}
}
}
}
}
}
}
}
}
throw new NullPointerException(h.a(new byte[]{-86, -123, -108, -97, -114, -126, Byte.MIN_VALUE, -52, -107, -119, -106, -103, -114, -98, -126, -120, -57, -102, -114, -119, -112, -52, -112, -123, -109, -124, -57, -91, -93, -42, -57}, new byte[]{-25, -20}).concat(inflate.getResources().getResourceName(i)));
}
public boolean onCreateOptionsMenu(Menu menu) {
getMenuInflater().inflate(2131558410, menu);
return super/*android.app.Activity*/.onCreateOptionsMenu(menu);
}
public boolean onOptionsItemSelected(MenuItem menuItem) {
int itemId = menuItem.getItemId();
if (itemId == 16908332) {
onBackPressed();
} else {
if (itemId != 2131296356) {
return super/*android.app.Activity*/.onOptionsItemSelected(menuItem);
}
f.d.d(h.a(new byte[]{-85, 124, -84, 109, -79, 119, -65, 106, -121, 124, -75, 120, -79, 117}, new byte[]{-40, 25}));
String string = getString(2131821001);
Intent intent = new Intent(h.a(new byte[]{-104, -113, -99, -109, -106, -120, -99, -49, -112, -113, -115, -124, -105, -107, -41, Byte.MIN_VALUE, -102, -107, -112, -114, -105, -49, -86, -92, -73, -91}, new byte[]{-7, -31}));
intent.setType(h.a(new byte[]{33, -29, 63, -11, 45, -31, 41, -87, 62, -32, 47, -66, 126, -76}, new byte[]{76, -122}));
intent.putExtra(h.a(new byte[]{75, 72, 78, 84, 69, 79, 78, 8, 67, 72, 94, 67, 68, 82, 4, 67, 82, 82, 88, 71, 4, 99, 103, 103, 99, 106}, new byte[]{42, 38}), new String[]{h.a(new byte[]{59, -54, 57, -120, 51, -123, 40, -119, 42, -127, 105, -43, 106, -46, 26, -125, 55, -123, 51, -120, 116, -121, 53, -119}, new byte[]{90, -28})});
intent.putExtra(h.a(new byte[]{73, -96, 76, -68, 71, -89, 76, -32, 65, -96, 92, -85, 70, -70, 6, -85, 80, -70, 90, -81, 6, -99, 125, -116, 98, -117, 107, -102}, new byte[]{40, -50}), string);
if (!TextUtils.isEmpty(null)) {
intent.putExtra(h.a(new byte[]{79, -79, 74, -83, 65, -74, 74, -15, 71, -79, 90, -70, 64, -85, 0, -70, 86, -85, 92, -66, 0, -117, 107, -121, 122}, new byte[]{46, -33}), (String) null);
}
startActivity(Intent.createChooser(intent, h.a(new byte[]{-55, -54, -10, -54, -7, -37, -70, -54, -9, -50, -13, -61, -70, -50, -22, -33, -10, -58, -7, -50, -18, -58, -11, -63, -76}, new byte[]{-102, -81})));
OpenAdManager.e(60L);
}
return true;
}
}