package com.tencent.mm.plugin.freewifi;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.freewifi.c.a;
import com.tencent.mm.sdk.platformtools.ab;

public class c$1 implements a {
    final /* synthetic */ a mtI;
    final /* synthetic */ c mtJ;

    public c$1(c cVar, a aVar) {
        this.mtJ = cVar;
        this.mtI = aVar;
    }

    public final void onSuccess() {
        AppMethodBeat.i(20564);
        ab.i("MicroMsg.FreeWifi.ConnectSsidPasswordHelper", "sessionKey=%s, step=%d, desc=Connect ssid succeeded. ", new Object[]{m.V(this.mtJ.activity.getIntent()), Integer.valueOf(m.W(this.mtJ.activity.getIntent()))});
        this.mtI.onSuccess();
        AppMethodBeat.o(20564);
    }

    public final void onFail(int i) {
        AppMethodBeat.i(20565);
        ab.i("MicroMsg.FreeWifi.ConnectSsidPasswordHelper", "sessionKey=%s, step=%d, desc=Connect ssid failed. errorcode=%d", new Object[]{m.V(this.mtJ.activity.getIntent()), Integer.valueOf(m.W(this.mtJ.activity.getIntent())), Integer.valueOf(i)});
        this.mtI.onFail(i);
        AppMethodBeat.o(20565);
    }
}
