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

import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.voip.model.q;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.sdk.platformtools.at;
import com.tencent.mm.ui.base.h;

class VoipVideoFragment$18 implements OnClickListener {
    final /* synthetic */ VoipVideoFragment sYn;

    VoipVideoFragment$18(VoipVideoFragment voipVideoFragment) {
        this.sYn = voipVideoFragment;
    }

    public final void onClick(View view) {
        AppMethodBeat.i(4892);
        ab.i("MicroMsg.Voip.VoipVideoFragment", "click accept video invite button");
        if (at.isWifi(this.sYn.getActivity()) || (q.cJV() && !at.is2G(this.sYn.getActivity()))) {
            VoipVideoFragment.e(this.sYn);
            AppMethodBeat.o(4892);
            return;
        }
        h.a(this.sYn.getActivity(), 2131304448, 2131304449, new 1(this), new 2(this));
        AppMethodBeat.o(4892);
    }
}
