package com.tencent.mm.plugin.sns.ui.item;

import android.graphics.Bitmap;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.sns.storage.AdLandingPagesStorage.f.a;
import com.tencent.mm.plugin.sns.storage.AdLandingPagesStorage.h;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.sdk.platformtools.bo;
import com.tencent.mm.sdk.platformtools.d;

class a$1 implements a {
    final /* synthetic */ a.a rIB;
    final /* synthetic */ a rIC;

    a$1(a aVar, a.a aVar2) {
        this.rIC = aVar;
        this.rIB = aVar2;
    }

    public final void cpu() {
    }

    public final void cmD() {
    }

    public final void YJ(String str) {
        AppMethodBeat.i(40128);
        ab.i("MiroMsg.CardAdTimeLineItem", "download img %s", new Object[]{str});
        if (!bo.Q(new String[]{(String) this.rIB.rGM.getTag(), str}) && str.equals(h.gj("adId", (String) this.rIB.rGM.getTag()))) {
            Bitmap decodeFile = d.decodeFile(str, null);
            if (decodeFile != null) {
                this.rIB.rGM.setVisibility(0);
                this.rIB.rIJ.setImageBitmap(decodeFile);
                this.rIB.rIJ.setVisibility(0);
            }
        }
        AppMethodBeat.o(40128);
    }
}
