导航菜单

页面标题

页面副标题

JADUGAR VIP LOADER v3.0 - TypedefSplashLauncher.java 源代码

正在查看: JADUGAR VIP LOADER v3.0 应用的 TypedefSplashLauncher.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package cn.typedef.zhcn.manifest;

import A.o;
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 f1.c;
import k0.AbstractC0336n0;
import k0.AbstractC0381u4;
import k0.C0300h0;
import v1.i;

public final class TypedefSplashLauncher extends Activity {
    public static final int f = 0;

    public final void a(Intent intent) {
        C0300h0 c0300h0;
        try {
            String stringExtra = intent.getStringExtra("mundo_base_string");
            if (stringExtra == null || i.v(stringExtra)) {
                finish();
                return;
            }
            try {
                c0300h0 = (C0300h0) AbstractC0336n0.f3215a.w(stringExtra.hashCode());
            } catch (Exception unused) {
                c0300h0 = null;
            }
            if (c0300h0 != null) {
                if (AbstractC0381u4.f) {
                    getWindow().getAttributes().layoutInDisplayCutoutMode = 1;
                }
                c cVar = c0300h0.b;
                if (cVar == null) {
                    getWindow().getDecorView().setBackground(c0300h0.f3182a);
                } else {
                    FrameLayout frameLayout = new FrameLayout(this);
                    frameLayout.setLayoutParams(new FrameLayout.LayoutParams(-1, -1));
                    Integer num = (Integer) cVar.g;
                    Integer num2 = (Integer) cVar.f2449h;
                    ImageView imageView = new ImageView(this);
                    int applyDimension = (int) TypedValue.applyDimension(1, 288, getResources().getDisplayMetrics());
                    FrameLayout.LayoutParams layoutParams = new FrameLayout.LayoutParams(applyDimension, applyDimension);
                    layoutParams.gravity = 17;
                    imageView.setLayoutParams(layoutParams);
                    Drawable drawable = c0300h0.f3182a;
                    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) cVar.f;
                    if (drawable2 != null) {
                        View view = new View(this);
                        FrameLayout.LayoutParams layoutParams2 = new FrameLayout.LayoutParams((int) TypedValue.applyDimension(1, 200, getResources().getDisplayMetrics()), (int) TypedValue.applyDimension(1, 80, getResources().getDisplayMetrics()));
                        layoutParams2.gravity = 81;
                        layoutParams2.bottomMargin = (int) TypedValue.applyDimension(1, 60, getResources().getDisplayMetrics());
                        view.setLayoutParams(layoutParams2);
                        view.setBackground(drawable2);
                        if (AbstractC0381u4.f3257c) {
                            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 o(intent.getStringExtra("mundo_base_bundle"), 5, stringExtra));
        } catch (Exception e2) {
            e2.printStackTrace();
        }
    }

    @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();
    }
}