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

import android.app.Activity;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener;
import com.tencent.matrix.trace.core.AppMethodBeat;

class a$5 implements OnCancelListener {
    final /* synthetic */ Activity ghG;
    final /* synthetic */ boolean tvZ = false;

    a$5(Activity activity) {
        this.ghG = activity;
    }

    public final void onCancel(DialogInterface dialogInterface) {
        AppMethodBeat.i(46670);
        if (this.tvZ) {
            this.ghG.finish();
        }
        AppMethodBeat.o(46670);
    }
}
