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

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.soter.d.i;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.soter.a.b.a;
import com.tencent.soter.a.b.b;
import com.tencent.soter.a.b.e;

class b$3 implements b<a> {
    final /* synthetic */ b rNW;

    b$3(b bVar) {
        this.rNW = bVar;
    }

    public final /* synthetic */ void a(e eVar) {
        AppMethodBeat.i(73867);
        a aVar = (a) eVar;
        ab.i("MicroMsg.SoterControllerFingerprint", "alvinluo request authentication result errCode: %d, errMsg: %s", new Object[]{Integer.valueOf(aVar.errCode), aVar.aIm});
        this.rNW.rNN = false;
        if (aVar.isSuccess()) {
            this.rNW.mMainHandler.postDelayed(new 1(this, aVar), 500);
            AppMethodBeat.o(73867);
            return;
        }
        i.fI(3, aVar.errCode);
        if (aVar.errCode == 13 || aVar.errCode == 20) {
            ab.i("MicroMsg.SoterControllerFingerprint", "hy: start authen error, maybe key invalid. remove former key and give suggestion");
            com.tencent.soter.a.a.Ri(this.rNW.gOW);
            this.rNW.rOb.errCode = 90007;
            this.rNW.rOb.aIm = "start fingerprint authen failed";
        } else if (aVar.errCode == 25) {
            this.rNW.rOb.errCode = 90010;
            this.rNW.rOb.aIm = "authenticate freeze. please try again later";
        } else {
            this.rNW.rOb.errCode = 90007;
            this.rNW.rOb.aIm = "authenticate error: " + aVar.aIm;
        }
        this.rNW.cvM();
        AppMethodBeat.o(73867);
    }
}
