package com.tencent.mm.plugin.u.a;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.u.a.b.a;
import com.tencent.mm.sdk.platformtools.ab;
import java.util.List;

class b$3 implements Runnable {
    final /* synthetic */ b pAu;
    final /* synthetic */ d pAv;

    b$3(b bVar, d dVar) {
        this.pAu = bVar;
        this.pAv = dVar;
    }

    public final void run() {
        AppMethodBeat.i(80752);
        b bVar = this.pAu;
        d dVar = this.pAv;
        ab.i("MicroMsg.FileScanQueueService", "onFinishScan fileUri: %s, result: %s", new Object[]{bVar.pAp, dVar});
        List<a> list = (List) bVar.ce.get(bVar.pAp);
        if (list != null && dVar != null) {
            ab.d("MicroMsg.FileScanQueueService", "onFinishScan, callback size: %d", new Object[]{Integer.valueOf(list.size())});
            for (a a : list) {
                a.a(bVar.pAp, dVar.result, dVar.rawData, dVar.cvn, dVar.cvo);
            }
        } else if (list != null) {
            for (a a2 : list) {
                a2.Vv(bVar.pAp);
            }
        }
        bVar.ce.remove(bVar.pAp);
        bVar.pAo.remove(bVar.pAp);
        bVar.pAp = null;
        bVar.pAq = null;
        bVar.cdv();
        AppMethodBeat.o(80752);
    }
}
