package o;

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

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.xd0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2918xd0 extends CharacterStyle {
    public final boolean a;
    public final boolean b;

    public C2918xd0(boolean z, boolean z2) {
        this.a = z;
        this.b = z2;
    }

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