package com.tencent.mm.plugin.appbrand.jsapi.nfc.hce;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.appbrand.jsapi.nfc.hce.a.1;
import com.tencent.mm.plugin.appbrand.jsapi.nfc.hce.a.d;
import com.tencent.mm.sdk.platformtools.ab;

class a$1$1 implements Runnable {
    final /* synthetic */ 1 hSv;

    a$1$1(1 1) {
        this.hSv = 1;
    }

    public final void run() {
        AppMethodBeat.i(137884);
        if (a.a(this.hSv.hSu) > 10) {
            ab.i("MicroMsg.HCEActivityMgr", "alvinluo loop check count exceed max limit: %d", new Object[]{Integer.valueOf(10)});
            a.c(this.hSv.hSu);
            a.d(this.hSv.hSu);
            AppMethodBeat.o(137884);
            return;
        }
        if (d.aEC()) {
            ab.i("MicroMsg.HCEActivityMgr", "alvinluo loopCheck NFC switch is opened, and cancel task");
            a.c(this.hSv.hSu);
            a.e(this.hSv.hSu);
        }
        AppMethodBeat.o(137884);
    }
}
