package com.tencent.mm.plugin.gallery.model;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.gallery.model.d.b;
import com.tencent.mm.sdk.platformtools.ab;

class d$2 implements b {
    final /* synthetic */ d mNI;

    d$2(d dVar) {
        this.mNI = dVar;
    }

    public final void NA(String str) {
        AppMethodBeat.i(21241);
        ab.i("MicroMsg.GalleryCache", "now listener size : " + this.mNI.ghp.size());
        for (int size = this.mNI.ghp.size() - 1; size >= 0; size--) {
            b bVar;
            try {
                bVar = (b) this.mNI.ghp.get(size);
            } catch (Exception e) {
                ab.e("MicroMsg.GalleryCache", "get wathcer failed:[%s] filePath:%s", new Object[]{e.toString(), str});
                bVar = null;
            }
            if (bVar == null) {
                ab.d("MicroMsg.GalleryCache", "get listener is null! filePath:%s", new Object[]{str});
            } else {
                bVar.NA(str);
            }
        }
        AppMethodBeat.o(21241);
    }
}
