package com.tencent.mm.plugin.wallet.a;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.ai.f;
import com.tencent.mm.ai.m;
import com.tencent.mm.g.a.uk;
import com.tencent.mm.kernel.g;
import com.tencent.mm.sdk.platformtools.ab;

class l$1 implements f {
    final /* synthetic */ uk tnn;
    final /* synthetic */ String tno;
    final /* synthetic */ l tnp;

    l$1(l lVar, uk ukVar, String str) {
        this.tnp = lVar;
        this.tnn = ukVar;
        this.tno = str;
    }

    public final void onSceneEnd(int i, int i2, String str, m mVar) {
        AppMethodBeat.i(45841);
        g.RQ();
        g.RO().eJo.b(1767, this);
        if (i == 0 && i2 == 0) {
            this.tnn.cQD.buffer = this.tno;
            this.tnn.cQD.cQH.run();
            AppMethodBeat.o(45841);
            return;
        }
        ab.i("MicroMsg.HandleWCPayWalletBufferListener", "check jsapi error: %s, %s", new Object[]{Integer.valueOf(i2), str});
        this.tnn.cQD.retCode = -1;
        this.tnn.cQD.cQH.run();
        AppMethodBeat.o(45841);
    }
}
