package com.tencent.mm.plugin.emojicapture.e;

import a.f.a.b;
import a.f.b.k;
import a.l;
import a.y;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.ui.base.t;

@l(dWo = {1, 1, 13}, dWp = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003H\n¢\u0006\u0002\b\u0004"}, dWq = {"<anonymous>", "", "shouldBlock", "", "invoke"})
final class c$f extends k implements b<Boolean, y> {
    final /* synthetic */ c lkA;
    final /* synthetic */ String lkC;

    c$f(c cVar, String str) {
        this.lkA = cVar;
        this.lkC = str;
        super(1);
    }

    public final /* synthetic */ Object am(Object obj) {
        AppMethodBeat.i(2771);
        boolean booleanValue = ((Boolean) obj).booleanValue();
        ab.i("MicroMsg.EditorPresenter", "voice text block ".concat(String.valueOf(booleanValue)));
        c.b(this.lkA, true);
        if (booleanValue) {
            t.makeText(c.f(this.lkA), 2131299190, 0).show();
        } else {
            c.a(this.lkA, this.lkC);
        }
        c.d(this.lkA);
        y yVar = y.AUy;
        AppMethodBeat.o(2771);
        return yVar;
    }
}
