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

import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.freewifi.l;
import com.tencent.mm.plugin.freewifi.model.d;

class FreeWifiStateUI$5 implements OnClickListener {
    final /* synthetic */ FreeWifiStateUI mAc;

    FreeWifiStateUI$5(FreeWifiStateUI freeWifiStateUI) {
        this.mAc = freeWifiStateUI;
    }

    public final void onClick(View view) {
        AppMethodBeat.i(21075);
        l.w(d.byN(), this.mAc.getIntent().getStringExtra("free_wifi_ap_key"), this.mAc.getIntent().getIntExtra("free_wifi_protocol_type", 0));
        if (this.mAc.bzz() == 2) {
            this.mAc.finish();
            AppMethodBeat.o(21075);
            return;
        }
        d.a(this.mAc.ssid, 1, this.mAc.getIntent());
        this.mAc.mxY = false;
        this.mAc.bzF();
        AppMethodBeat.o(21075);
    }
}
