package t2;

import android.text.TextPaint;
import android.text.style.CharacterStyle;

/* loaded from: classes.dex */
public final class n extends CharacterStyle {

    /* renamed from: a, reason: collision with root package name */
    private final boolean f36120a;

    /* renamed from: b, reason: collision with root package name */
    private final boolean f36121b;

    public n(boolean z10, boolean z11) {
        this.f36120a = z10;
        this.f36121b = z11;
    }

    @Override // android.text.style.CharacterStyle
    public void updateDrawState(TextPaint textPaint) {
        textPaint.setUnderlineText(this.f36120a);
        textPaint.setStrikeThruText(this.f36121b);
    }
}
