package com.tencent.mm.ipcinvoker;

import android.os.Looper;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.ipcinvoker.g.a;
import com.tencent.mm.ipcinvoker.h.b;
import com.tencent.mm.ipcinvoker.m.a.1;

class m$a$1$1 implements Runnable {
    final /* synthetic */ Runnable eGq;
    final /* synthetic */ 1 eGr;

    m$a$1$1(1 1, Runnable runnable) {
        this.eGr = 1;
        this.eGq = runnable;
    }

    public final void run() {
        AppMethodBeat.i(114057);
        ThreadLocal threadLocal = (ThreadLocal) new a(Looper.class, "sThreadLocal").PV();
        if (threadLocal == null || threadLocal.get() != null) {
            b.d("IPC.ExecutorServiceCreatorImpl", "ThreadLocal Looper variable is null or has set.(%s)", new Object[]{threadLocal});
        } else {
            b.d("IPC.ExecutorServiceCreatorImpl", "create a new Looper ThreadLocal variable.", new Object[0]);
            threadLocal.set(this.eGr.eGp.mHandlerThread.getLooper());
        }
        this.eGq.run();
        AppMethodBeat.o(114057);
    }
}
