正在查看: Meta Wolf v1.0.12 应用的 MundoSplashLauncher.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Meta Wolf v1.0.12 应用的 MundoSplashLauncher.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package top.bienvenido.mundo.manifest;
import android.R;
import android.app.Activity;
import android.content.Intent;
import android.graphics.drawable.Animatable;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.util.TypedValue;
import android.view.View;
import android.widget.FrameLayout;
import android.widget.ImageView;
import defpackage.AbstractC1264jH;
import defpackage.AbstractC1290jh;
import defpackage.C0065Cf;
import defpackage.C1205iJ;
import defpackage.RunnableC0625Xu;
import defpackage.TP;
public final class MundoSplashLauncher extends Activity {
public static final int w = 0;
public final void a(Intent intent) {
C0065Cf c0065Cf;
try {
String stringExtra = intent.getStringExtra("mundo_base_string");
if (stringExtra == null || AbstractC1264jH.K(stringExtra)) {
finish();
return;
}
try {
c0065Cf = (C0065Cf) AbstractC1290jh.a.a(stringExtra.hashCode());
} catch (Exception unused) {
c0065Cf = null;
}
if (c0065Cf != null) {
if (TP.f) {
getWindow().getAttributes().layoutInDisplayCutoutMode = 1;
}
if (c0065Cf.b == null) {
getWindow().getDecorView().setBackground(c0065Cf.a);
} else {
int applyDimension = (int) TypedValue.applyDimension(1, 20, getResources().getDisplayMetrics());
C1205iJ c1205iJ = c0065Cf.b;
FrameLayout frameLayout = new FrameLayout(this);
frameLayout.setLayoutParams(new FrameLayout.LayoutParams(-1, -1));
Integer num = (Integer) c1205iJ.x;
Integer num2 = (Integer) c1205iJ.y;
ImageView imageView = new ImageView(this);
int i = applyDimension * 14;
FrameLayout.LayoutParams layoutParams = new FrameLayout.LayoutParams(i, i);
layoutParams.gravity = 17;
imageView.setLayoutParams(layoutParams);
Drawable drawable = c0065Cf.a;
imageView.setImageDrawable(drawable);
if (drawable instanceof Animatable) {
((Animatable) drawable).start();
}
if (num2 != null && !num2.equals(num) && num2.intValue() != 0) {
imageView.setBackgroundColor(num2.intValue());
}
frameLayout.addView(imageView);
Drawable drawable2 = (Drawable) c1205iJ.w;
if (drawable2 != null) {
View view = new View(this);
FrameLayout.LayoutParams layoutParams2 = new FrameLayout.LayoutParams(applyDimension * 10, applyDimension * 4);
layoutParams2.gravity = 81;
layoutParams2.bottomMargin = applyDimension * 3;
view.setLayoutParams(layoutParams2);
view.setBackground(drawable2);
if (TP.c) {
view.forceHasOverlappingRendering(false);
}
frameLayout.addView(view);
}
if (num != null) {
frameLayout.setBackgroundColor(num.intValue());
} else {
frameLayout.setBackground(getWindow().getDecorView().getBackground());
}
setContentView(frameLayout);
}
}
getWindow().getDecorView().findViewById(R.id.content).post(new RunnableC0625Xu(0, stringExtra, intent.getStringExtra("mundo_base_bundle")));
} catch (Exception unused2) {
}
}
@Override
public final void onCreate(Bundle bundle) {
super.onCreate(bundle);
a(getIntent());
}
@Override
public final void onNewIntent(Intent intent) {
super.onNewIntent(intent);
if (intent != null) {
a(intent);
} else {
finish();
}
}
@Override
public final void onPause() {
super.onPause();
finish();
}
}