导航菜单

页面标题

页面副标题

Handling Master v2 - thdZ.java 源代码

正在查看: Handling Master v2 应用的 thdZ.java JAVA 源代码文件

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


package com.xyy.f;

import android.app.Activity;
import android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.thinkup.core.common.oo0.nn;
import com.thinkup.expressad.foundation.m0.mn;

public class thdZ extends Activity {
    public static final int m = 2;
    private static Runnable n = null;
    public static final int o = 1;
    private static String o0 = null;
    private static int oo = 1;
    private Dialog om;

    public class I11lllll1ILI1 implements View.OnClickListener {
        public I11lllll1ILI1() {
        }

        @Override
        public final void onClick(View view) {
            thdZ.this.finish();
        }
    }

    public class ilLiIi111I1ll implements View.OnClickListener {
        public ilLiIi111I1ll() {
        }

        @Override
        public final void onClick(View view) {
            thdZ.this.finish();
            if (thdZ.n != null) {
                thdZ.n.run();
            }
        }
    }

    private void m() {
        try {
            View inflate = LayoutInflater.from(this).inflate(nn.o(this, "myoffer_confirm_dialog", "layout"), (ViewGroup) null, false);
            TextView textView = (TextView) inflate.findViewById(nn.o(this, "myoffer_confirm_msg", "id"));
            TextView textView2 = (TextView) inflate.findViewById(nn.o(this, "myoffer_confirm_give_up", "id"));
            TextView textView3 = (TextView) inflate.findViewById(nn.o(this, "myoffer_confirm_continue", "id"));
            textView2.setText(getResources().getString(nn.o(this, "myoffer_reward_exit_confirm_give_up", mn.on)));
            if (oo != 2) {
                textView.setText(getResources().getString(nn.o(this, "myoffer_reward_exit_confirm_msg", mn.on), o0));
                textView3.setText(getResources().getString(nn.o(this, "myoffer_reward_exit_confirm_continue", mn.on)));
            } else {
                textView.setText(getResources().getString(nn.o(this, "myoffer_anim_reward_exit_confirm_msg", mn.on), o0));
                textView3.setText(getResources().getString(nn.o(this, "myoffer_anim_reward_exit_confirm_continue", mn.on)));
            }
            textView2.setOnClickListener(new ilLiIi111I1ll());
            textView3.setOnClickListener(new I11lllll1ILI1());
            Dialog dialog = new Dialog(this, nn.o(this, "style_full_screen_translucent_dialog", mn.oo));
            this.om = dialog;
            dialog.setContentView(inflate);
            this.om.setCancelable(false);
            this.om.show();
        } catch (Throwable unused) {
            finish();
        }
    }

    @Override
    public void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        try {
            View inflate = LayoutInflater.from(this).inflate(nn.o(this, "myoffer_confirm_dialog", "layout"), (ViewGroup) null, false);
            TextView textView = (TextView) inflate.findViewById(nn.o(this, "myoffer_confirm_msg", "id"));
            TextView textView2 = (TextView) inflate.findViewById(nn.o(this, "myoffer_confirm_give_up", "id"));
            TextView textView3 = (TextView) inflate.findViewById(nn.o(this, "myoffer_confirm_continue", "id"));
            textView2.setText(getResources().getString(nn.o(this, "myoffer_reward_exit_confirm_give_up", mn.on)));
            if (oo != 2) {
                textView.setText(getResources().getString(nn.o(this, "myoffer_reward_exit_confirm_msg", mn.on), o0));
                textView3.setText(getResources().getString(nn.o(this, "myoffer_reward_exit_confirm_continue", mn.on)));
            } else {
                textView.setText(getResources().getString(nn.o(this, "myoffer_anim_reward_exit_confirm_msg", mn.on), o0));
                textView3.setText(getResources().getString(nn.o(this, "myoffer_anim_reward_exit_confirm_continue", mn.on)));
            }
            textView2.setOnClickListener(new ilLiIi111I1ll());
            textView3.setOnClickListener(new I11lllll1ILI1());
            Dialog dialog = new Dialog(this, nn.o(this, "style_full_screen_translucent_dialog", mn.oo));
            this.om = dialog;
            dialog.setContentView(inflate);
            this.om.setCancelable(false);
            this.om.show();
        } catch (Throwable unused) {
            finish();
        }
    }

    @Override
    public void onDestroy() {
        Dialog dialog = this.om;
        if (dialog != null) {
            dialog.dismiss();
            this.om = null;
        }
        n = null;
        super.onDestroy();
    }

    @Override
    public boolean onKeyDown(int i, KeyEvent keyEvent) {
        if (4 == i) {
            return true;
        }
        return super.onKeyDown(i, keyEvent);
    }

    public static void o(Context context, String str, Runnable runnable, int i) {
        o0 = str;
        n = runnable;
        oo = i;
        Intent intent = new Intent(context, (Class<?>) thdZ.class);
        intent.addFlags(268435456);
        context.startActivity(intent);
    }
}