package com.tencent.mm.plugin.facedetect.ui;

import android.text.TextPaint;
import android.text.style.ClickableSpan;
import android.view.View;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.protocal.protobuf.blr;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.sdk.platformtools.bo;

class FaceDetectConfirmUI$7 extends ClickableSpan {
    final /* synthetic */ FaceDetectConfirmUI lWx;
    final /* synthetic */ blr lWy;

    FaceDetectConfirmUI$7(FaceDetectConfirmUI faceDetectConfirmUI, blr blr) {
        this.lWx = faceDetectConfirmUI;
        this.lWy = blr;
    }

    public final void onClick(View view) {
        AppMethodBeat.i(368);
        if (bo.isNullOrNil(this.lWy.url)) {
            ab.e("MicroMsg.FaceDetectConfirmUI", "alvinluo promptInfo url is null");
            AppMethodBeat.o(368);
            return;
        }
        FaceDetectConfirmUI.a(this.lWx, this.lWy.url);
        AppMethodBeat.o(368);
    }

    public final void updateDrawState(TextPaint textPaint) {
        AppMethodBeat.i(369);
        textPaint.setColor(this.lWx.getResources().getColor(2131690208));
        AppMethodBeat.o(369);
    }
}
