导航菜单

页面标题

页面副标题

OVO v3.139.0 - HVDocInstructionActivity.java 源代码

正在查看: OVO v3.139.0 应用的 HVDocInstructionActivity.java JAVA 源代码文件

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


package co.hyperverge.hypersnapsdk.activities;

import android.os.Bundle;
import android.widget.TextView;
import o.i.c4c;
import o.i.djj;
import o.i.fvi;
import o.i.krj;
import o.i.n7c;
import o.i.ph6;
import o.i.vg6;
import o.i.z1d;
import o.i.zg6;
import org.json.JSONException;
import org.json.JSONObject;

public class HVDocInstructionActivity extends c {
    public final krj G = new krj();
    public final krj H = new krj();
    public TextView I;
    public TextView J;
    public TextView K;
    public TextView L;
    public TextView M;

    @Override
    public final vg6 B0() {
        return null;
    }

    @Override
    public final void E0() {
    }

    @Override
    public final boolean F0() {
        return false;
    }

    @Override
    public final void I0() {
    }

    @Override
    public final void onBackPressed() {
        setResult(11);
        finish();
        super.onBackPressed();
    }

    @Override
    public final void onCreate(Bundle bundle) {
        JSONObject jSONObject;
        super.onCreate(bundle);
        krj krjVar = this.G;
        krjVar.c();
        setContentView(n7c.hv_activity_doc_instruction);
        this.I = (TextView) findViewById(c4c.title_text);
        this.J = (TextView) findViewById(c4c.doc_instruction_1);
        this.K = (TextView) findViewById(c4c.doc_instruction_2);
        this.L = (TextView) findViewById(c4c.doc_instruction_3);
        TextView textView = (TextView) findViewById(c4c.proceed_button);
        this.M = textView;
        textView.setOnClickListener(new zg6(this));
        if (bundle != null) {
            if (djj.e().i() && djj.e().h != null) {
                djj.e().h.f0(new ph6(2, "savedInstance is not null"));
            }
            finish();
        }
        try {
            jSONObject = new JSONObject(getIntent().getStringExtra("customUIStrings"));
        } catch (JSONException e) {
            if (djj.e().i() && djj.e().h != null) {
                djj.e().h.f0(new ph6(2, fvi.d(e)));
            }
            fvi.d(e);
            jSONObject = null;
        }
        if (jSONObject != null) {
            try {
                if (jSONObject.has("docInstructionsTitleTypeFace") && jSONObject.getInt("docInstructionsTitleTypeFace") > 0) {
                    this.I.setTypeface(z1d.c(getApplicationContext(), jSONObject.getInt("docInstructionsTitleTypeFace")));
                }
                if (jSONObject.has("docInstructions1TypeFace") && jSONObject.getInt("docInstructions1TypeFace") > 0) {
                    this.J.setTypeface(z1d.c(getApplicationContext(), jSONObject.getInt("docInstructions1TypeFace")));
                }
                if (jSONObject.has("docInstructions2TypeFace") && jSONObject.getInt("docInstructions2TypeFace") > 0) {
                    this.K.setTypeface(z1d.c(getApplicationContext(), jSONObject.getInt("docInstructions2TypeFace")));
                }
                if (jSONObject.has("docInstructions3TypeFace") && jSONObject.getInt("docInstructions3TypeFace") > 0) {
                    this.L.setTypeface(z1d.c(getApplicationContext(), jSONObject.getInt("docInstructions3TypeFace")));
                }
                if (jSONObject.has("docInstructionsProceedTypeFace") && jSONObject.getInt("docInstructionsProceedTypeFace") > 0) {
                    this.M.setTypeface(z1d.c(getApplicationContext(), jSONObject.getInt("docInstructionsProceedTypeFace")));
                }
                if (jSONObject.has("docInstructionsTitle") && !jSONObject.getString("docInstructionsTitle").trim().isEmpty()) {
                    this.I.setText(jSONObject.getString("docInstructionsTitle"));
                }
                if (jSONObject.has("docInstructions1") && !jSONObject.getString("docInstructions1").trim().isEmpty()) {
                    this.J.setText(jSONObject.getString("docInstructions1"));
                }
                if (jSONObject.has("docInstructions2") && !jSONObject.getString("docInstructions2").trim().isEmpty()) {
                    this.K.setText(jSONObject.getString("docInstructions2"));
                }
                if (jSONObject.has("docInstructions3") && !jSONObject.getString("docInstructions3").trim().isEmpty()) {
                    this.L.setText(jSONObject.getString("docInstructions3"));
                }
                if (jSONObject.has("docInstructionsProceed") && !jSONObject.getString("docInstructionsProceed").trim().isEmpty()) {
                    this.M.setText(jSONObject.getString("docInstructionsProceed"));
                }
            } catch (Exception e2) {
                fvi.d(e2);
                if (!djj.e().i() || djj.e().h == null) {
                    return;
                }
                djj.e().h.f0(new ph6(2, fvi.d(e2)));
                return;
            }
        }
        if (!djj.e().i() || djj.e().h == null) {
            return;
        }
        djj.e().h.O(krjVar.b().longValue());
        djj.e().h.A0();
        this.H.c();
    }

    @Override
    public final void onSaveInstanceState(Bundle bundle) {
        super.onSaveInstanceState(bundle);
    }
}