package com.tencent.mm.plugin.brandservice.ui.timeline.preload.b;

import a.f.a.m;
import a.f.b.j;
import a.f.b.k;
import a.l;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.ytcommon.BuildConfig;
import java.io.File;
import java.util.ArrayList;

@l(dWo = {1, 1, 13}, dWp = {"\u0000\u0016\n\u0000\n\u0002\u0010\u000b\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00030\u00022\u0006\u0010\u0004\u001a\u00020\u0005H\n¢\u0006\u0002\b\u0006"}, dWq = {"isIncludeFile", "", "Ljava/util/ArrayList;", "", "file", "Ljava/io/File;", "invoke"})
final class b$c extends k implements m<ArrayList<String>, File, Boolean> {
    public static final b$c jTK = new b$c();

    static {
        AppMethodBeat.i(14985);
        AppMethodBeat.o(14985);
    }

    b$c() {
        super(2);
    }

    public final /* synthetic */ Object m(Object obj, Object obj2) {
        AppMethodBeat.i(14983);
        Boolean valueOf = Boolean.valueOf(a((ArrayList) obj, (File) obj2));
        AppMethodBeat.o(14983);
        return valueOf;
    }

    public static boolean a(ArrayList<String> arrayList, File file) {
        AppMethodBeat.i(14984);
        j.p(arrayList, "receiver$0");
        j.p(file, "file");
        boolean contains = arrayList.contains(file.getAbsolutePath() + (file.isDirectory() ? "/" : BuildConfig.FLAVOR));
        AppMethodBeat.o(14984);
        return contains;
    }
}
