正在查看: Share Any v2.1.7 应用的 LanguageActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Share Any v2.1.7 应用的 LanguageActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package net.shareany.app.activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.Menu;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import androidx.activity.l;
import androidx.appcompat.widget.Toolbar;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import com.facebook.internal.c0;
import com.google.android.material.appbar.AppBarLayout;
import ed.b;
import g3.i;
import java.util.Locale;
import jd.a;
import m5.h;
import n5.o;
public final class LanguageActivity extends b {
public static final int E = 0;
public i B;
public a C;
public o D;
public void onBackPressed() {
x();
}
@Override
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
ConstraintLayout inflate = getLayoutInflater().inflate(2131492901, (ViewGroup) null, false);
int i = 2131296392;
AppBarLayout c = l.c(inflate, 2131296392);
if (c != null) {
i = 2131296587;
FrameLayout frameLayout = (FrameLayout) l.c(inflate, 2131296587);
if (frameLayout != null) {
i = 2131296877;
RecyclerView c2 = l.c(inflate, 2131296877);
if (c2 != null) {
i = 2131297016;
Toolbar c3 = l.c(inflate, 2131297016);
if (c3 != null) {
ConstraintLayout constraintLayout = inflate;
this.B = new i(constraintLayout, c, frameLayout, c2, c3);
setContentView(constraintLayout);
w((Toolbar) this.B.h);
a aVar = new a(this);
this.C = aVar;
String b = ud.b.b();
int i2 = 0;
while (true) {
if (i2 >= aVar.d.size()) {
break;
}
if (b.equals(aVar.d.get(i2))) {
int i3 = aVar.e;
aVar.e = i2;
if (i3 >= 0) {
aVar.e(i3);
}
int i4 = aVar.e;
if (i4 >= 0) {
aVar.e(i4);
}
} else {
i2++;
}
}
((RecyclerView) this.B.e).setLayoutManager(new LinearLayoutManager(1, false));
((RecyclerView) this.B.e).setAdapter(this.C);
o oVar = new o(this, h.a(new byte[]{82, -78, 28, -78, 65, -93, 28, -93, 68, -79, 28, -31, 3, -28, 4, -26, 3, -27, 2, -31, 2, -32, 3, -32, 0, -32, 5, -4, 6, -21, 7, -29, 1, -27, 7, -25, 3, -22}, new byte[]{49, -45}), (FrameLayout) this.B.d, 2131493042);
this.D = oVar;
oVar.c();
return;
}
}
}
}
throw new NullPointerException(h.a(new byte[]{48, 76, 14, 86, 20, 75, 26, 5, 15, 64, 12, 80, 20, 87, 24, 65, 93, 83, 20, 64, 10, 5, 10, 76, 9, 77, 93, 108, 57, 31, 93}, new byte[]{125, 37}).concat(inflate.getResources().getResourceName(i)));
}
public boolean onCreateOptionsMenu(Menu menu) {
getMenuInflater().inflate(2131558413, menu);
((Toolbar) this.B.h).getMenu().findItem(2131296648).getActionView().setOnClickListener(new c0(this));
return super/*android.app.Activity*/.onCreateOptionsMenu(menu);
}
@Override
public void onDestroy() {
super.onDestroy();
o oVar = this.D;
if (oVar != null) {
oVar.a();
this.D = null;
}
}
public final void x() {
String b = ud.b.b();
a aVar = this.C;
String str = aVar.d.get(aVar.e);
if (!b.equals(str)) {
ud.b.d(str);
com.blankj.utilcode.util.b.d(TextUtils.isEmpty(str) ? Locale.getDefault() : new Locale(str), 0, new m1.a(this, str));
}
startActivity(new Intent((Context) this, (Class<?>) UserGuideActivity.class).putExtra(h.a(new byte[]{117, Byte.MIN_VALUE, 115, -83, 114, Byte.MIN_VALUE, 123, -97, 75, -123, 113, -98, 119, -99, 121, -105}, new byte[]{20, -14}), true));
finish();
}
}