package com.tencent.mm.plugin.wallet_core.ui;

import android.content.DialogInterface.OnCancelListener;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.report.service.h;

class q$10 implements OnClickListener {
    final /* synthetic */ OnCancelListener tKj;
    final /* synthetic */ q tKq;

    q$10(q qVar, OnCancelListener onCancelListener) {
        this.tKq = qVar;
        this.tKj = onCancelListener;
    }

    public final void onClick(View view) {
        AppMethodBeat.i(47603);
        if (this.tKj != null) {
            this.tKj.onCancel(null);
        }
        if (this.tKq.tKm != null) {
            this.tKq.tKm.bXx();
        }
        this.tKq.cancel();
        if (this.tKq.tJU.isShown()) {
            h.pYm.e(11977, new Object[]{Integer.valueOf(1), Integer.valueOf(0), Integer.valueOf(1), Integer.valueOf(0), Integer.valueOf(0), Integer.valueOf(0)});
            AppMethodBeat.o(47603);
            return;
        }
        h.pYm.e(11977, new Object[]{Integer.valueOf(0), Integer.valueOf(0), Integer.valueOf(1), Integer.valueOf(0), Integer.valueOf(0), Integer.valueOf(0)});
        AppMethodBeat.o(47603);
    }
}
