package com.tencent.mm.plugin.wallet_core.id_verify.util;

import android.app.Activity;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.os.Bundle;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.sdk.platformtools.bo;
import com.tencent.mm.wallet_core.a;
import com.tencent.mm.wallet_core.ui.e;

class a$4 implements OnClickListener {
    final /* synthetic */ Activity ghG;
    final /* synthetic */ Bundle hXc;
    final /* synthetic */ int tvW;
    final /* synthetic */ boolean tvZ = false;

    a$4(Bundle bundle, int i, Activity activity) {
        this.hXc = bundle;
        this.tvW = i;
        this.ghG = activity;
    }

    public final void onClick(DialogInterface dialogInterface, int i) {
        AppMethodBeat.i(46669);
        ab.i("MicroMsg.RealnameVerifyUtil", "showUploadCreditDialog click OK");
        ab.i("MicroMsg.RealnameVerifyUtil", "showRealnameDialog click OK");
        Bundle bundle = this.hXc;
        if (this.hXc == null) {
            bundle = new Bundle();
        }
        bundle.putInt("real_name_verify_mode", 0);
        bundle.putInt("entry_scene", this.tvW);
        bundle.putBoolean("key_from_set_pwd", true);
        a.a(this.ghG, com.tencent.mm.plugin.wallet_core.id_verify.a.class, bundle);
        e.a(19, bo.anT(), this.tvW);
        dialogInterface.dismiss();
        if (this.tvZ) {
            this.ghG.finish();
        }
        AppMethodBeat.o(46669);
    }
}
