导航菜单

页面标题

页面副标题

PrestaMax v1.0.9 - MainActivity.java 源代码

正在查看: PrestaMax v1.0.9 应用的 MainActivity.java JAVA 源代码文件

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


package com.prestamx.max;

import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import com.prestamx.max.MainActivity;
import com.prestamx.max.activity.MaxActivity;
import com.prestamx.max.java_calss.ActivityUtil;
import com.prestamx.max.java_calss.pzetpkg;
import com.prestamx.max.java_calss.vikxvh;
import com.prestamx.max.java_calss.zppskyagv;
import com.prestamx.max.service.MaxMessagingEnum;
import com.prestamx.max.service.MaxMessagingService;
import java.util.HashMap;
import kitld.kamfujg;

public class MainActivity extends MaxActivity {

    public MaxMessagingEnum f13345vikxvh;

    public class mwowwskti extends Handler {
        public mwowwskti(Looper looper) {
            super(looper);
        }

        @Override
        public void handleMessage(Message message) {
            super.handleMessage(message);
            zppskyagv.zwfgajm(MainActivity.this);
            MainActivity.this.yebtjpgtd();
            vikxvh.zppskyagv().tfcj(vikxvh.mwowwskti(MainActivity.this, new HashMap())).enqueue(vikxvh.nmqbnjf());
        }
    }

    public void zves(DialogInterface dialogInterface) {
        hzmc.mwowwskti.nmqbnjf(this).xyrcey(Boolean.TRUE);
        okynidv();
    }

    public final void okynidv() {
        String str;
        Uri data;
        Intent intent = getIntent();
        boolean z = false;
        if (intent == null || (data = intent.getData()) == null || !"maxapp".equals(data.getScheme()) || !"maxhostappclient".equals(data.getHost())) {
            str = "";
        } else {
            str = data.getQueryParameter("type");
            if (str != null && !str.isEmpty()) {
                z = true;
            }
        }
        Intent wavzltwms2 = ActivityUtil.wavzltwms(this);
        MaxMessagingEnum maxMessagingEnum = this.f13345vikxvh;
        if (maxMessagingEnum != null && maxMessagingEnum != MaxMessagingEnum.MAIN) {
            MaxMessagingService.nqymzx(wavzltwms2, maxMessagingEnum);
        }
        if (z) {
            wavzltwms2.putExtra("sdjflcno", str);
            wavzltwms2.setFlags(335544320);
        }
        startActivity(wavzltwms2);
        finish();
    }

    @Override
    public void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        setContentView(R$layout.activity_main);
        this.f13345vikxvh = zppskyagv.nmqbnjf(this, getIntent());
        pzetpkg.emazevgh(this, new mwowwskti(Looper.myLooper()));
    }

    @Override
    public void onNewIntent(Intent intent) {
        super.onNewIntent(intent);
        this.f13345vikxvh = zppskyagv.nmqbnjf(this, intent);
    }

    public final void yebtjpgtd() {
        if (isDestroyed() || isFinishing()) {
            return;
        }
        if (hzmc.mwowwskti.nmqbnjf(this).ksocihbb(Boolean.FALSE).booleanValue()) {
            okynidv();
            return;
        }
        kamfujg kamfujgVar = new kamfujg(this);
        kamfujgVar.setOnDismissListener(new DialogInterface.OnDismissListener() {
            @Override
            public final void onDismiss(DialogInterface dialogInterface) {
                MainActivity.this.zves(dialogInterface);
            }
        });
        kamfujgVar.show();
    }
}