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

import android.content.Intent;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.bi.d;
import com.tencent.mm.plugin.profile.ui.NormalUserFooterPreference.c;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.pluginsdk.ui.applet.a.a;
import com.tencent.mm.sdk.platformtools.ab;

class NormalUserFooterPreference$c$3 implements a {
    final /* synthetic */ c ppa;

    NormalUserFooterPreference$c$3(c cVar) {
        this.ppa = cVar;
    }

    public final void a(boolean z, boolean z2, String str, String str2) {
        AppMethodBeat.i(23701);
        if (z) {
            this.ppa.poR.fry.cF("hide_btn");
            this.ppa.poR.fry.doNotify();
            NormalUserFooterPreference.v(this.ppa.poR);
            c.a(this.ppa);
        } else if (z2) {
            d.akP().ep(str, 2);
        } else {
            ab.e("MicroMsg.NormalUserFooterPreference", "canAddContact fail, maybe interrupt by IOnNeedSentVerify, username = ".concat(String.valueOf(str)));
        }
        if (z || z2) {
            Intent intent = NormalUserFooterPreference.b(this.ppa.poR).getIntent();
            int intExtra = intent.getIntExtra("search_kvstat_scene", 0);
            int intExtra2 = intent.getIntExtra("search_kvstat_position", 0);
            if (intExtra > 0 && intExtra2 > 0) {
                h.pYm.e(10991, new Object[]{Integer.valueOf(intExtra), Integer.valueOf(6), Integer.valueOf(intExtra2)});
            }
        }
        AppMethodBeat.o(23701);
    }
}
