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

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.sdk.platformtools.at;
import com.tencent.mm.storage.q;

class c$2 implements Runnable {
    final /* synthetic */ c jQX;

    c$2(c cVar) {
        this.jQX = cVar;
    }

    public final void run() {
        AppMethodBeat.i(14363);
        c.a(this.jQX);
        if (c.b(this.jQX) == null || c.b(this.jQX).isFinishing()) {
            AppMethodBeat.o(14363);
        } else if (c.aWV() && !at.isWifi(c.b(this.jQX))) {
            AppMethodBeat.o(14363);
        } else if (c.c(this.jQX)) {
            q d = c.d(this.jQX);
            if (d == null) {
                ab.v("MicroMsg.BizTimeLineImgLoader", "not loading");
                AppMethodBeat.o(14363);
                return;
            }
            c.a(this.jQX, d);
            AppMethodBeat.o(14363);
        } else {
            ab.v("MicroMsg.BizTimeLineImgLoader", "not all visibleItem loaded");
            AppMethodBeat.o(14363);
        }
    }
}
