package com.tencent.mm.plugin.ext.c;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.g.a.oq;
import com.tencent.mm.plugin.ext.c.d.b;
import com.tencent.mm.plugin.ext.c.e.a;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.sdk.platformtools.bj;

class e$1 extends bj<a> {
    final /* synthetic */ b lQZ;
    final /* synthetic */ e lRa;

    e$1(e eVar, a aVar, b bVar) {
        this.lRa = eVar;
        this.lQZ = bVar;
        super(5000, aVar);
    }

    public final /* synthetic */ Object run() {
        AppMethodBeat.i(20419);
        a brZ = brZ();
        AppMethodBeat.o(20419);
        return brZ;
    }

    private a brZ() {
        AppMethodBeat.i(20418);
        try {
            ab.d("MicroMsg.ExtQrCodeHandler", "hy: start scan qrcode");
            if (this.lQZ != null) {
                oq oqVar = new oq();
                oqVar.cKZ.width = this.lQZ.aIV;
                oqVar.cKZ.height = this.lQZ.aIW;
                oqVar.cKZ.cLb = this.lQZ.lQX;
                oqVar.cKZ.rotate = this.lQZ.rotate;
                oqVar.cKZ.cLa = this.lQZ.cLa;
                oqVar.cKZ.cLc = new 1(this);
                com.tencent.mm.sdk.b.a.xxA.m(oqVar);
            } else {
                ab.w("MicroMsg.ExtQrCodeHandler", "hy: qrcode data not retrieved");
                cC(null);
            }
        } catch (Exception e) {
            ab.printErrStackTrace("MicroMsg.ExtQrCodeHandler", e, "hy: error when syncTaskScanQrCode", new Object[0]);
            cC(null);
        }
        AppMethodBeat.o(20418);
        return null;
    }
}
