package com.tencent.mm.plugin.appbrand.config;

import android.os.Looper;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.kernel.g;
import com.tencent.mm.plugin.appbrand.service.d.a;
import com.tencent.mm.sdk.platformtools.al;

class n$3 implements Runnable {
    final /* synthetic */ String eiH;
    final /* synthetic */ n hhA;
    final /* synthetic */ al hhC;
    final /* synthetic */ a hhz;

    n$3(n nVar, a aVar, String str, al alVar) {
        this.hhA = nVar;
        this.hhz = aVar;
        this.eiH = str;
        this.hhC = alVar;
    }

    public final void run() {
        AppMethodBeat.i(129875);
        if (g.RN().QY()) {
            if (r.zr(this.eiH)) {
                r.a(this.eiH, false, new 1(this));
            } else if (this.hhz != null) {
                this.hhz.d(this.hhA.zb(this.eiH));
            }
            Looper.myQueue().addIdleHandler(new 2(this));
            AppMethodBeat.o(129875);
            return;
        }
        if (this.hhz != null) {
            this.hhz.d(null);
        }
        AppMethodBeat.o(129875);
    }
}
