package com.tencent.mm.plugin.websearch.c.a;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.fts.a.a.j;
import com.tencent.mm.plugin.fts.a.l;
import com.tencent.mm.plugin.websearch.c.a.c.a;
import com.tencent.mm.sdk.platformtools.ab;
import java.util.Collections;

class b$2 implements l {
    final /* synthetic */ b uch;

    b$2(b bVar) {
        this.uch = bVar;
    }

    public final void b(j jVar) {
        AppMethodBeat.i(91369);
        a aVar = (a) jVar.mEx.mDs;
        if (aVar == null) {
            AppMethodBeat.o(91369);
            return;
        }
        a aVar2 = (a) this.uch.jxd.remove(aVar);
        if (aVar2 == null) {
            AppMethodBeat.o(91369);
            return;
        }
        switch (jVar.bFZ) {
            case -3:
            case -2:
            case -1:
                aVar.dZ(Collections.emptyList());
                break;
            case 0:
                if (jVar.mEy != null && jVar.mEy.size() != 0) {
                    aVar.dZ(jVar.mEy);
                    break;
                }
                ab.i("FTSMatchContact", "local contact search size 0");
                aVar2.cVJ();
                AppMethodBeat.o(91369);
                return;
                break;
        }
        aVar2.cVJ();
        AppMethodBeat.o(91369);
    }
}
