package o;

import android.graphics.Typeface;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.pg, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2164pg extends AbstractC2798wI {
    public final Typeface x;
    public final OD y;
    public boolean z;

    public C2164pg(OD od, Typeface typeface) {
        this.x = typeface;
        this.y = od;
    }

    @Override // o.AbstractC2798wI
    public final void q(int i) {
        if (this.z) {
            return;
        }
        C3022yi c3022yi = (C3022yi) this.y.m;
        if (c3022yi.j(this.x)) {
            c3022yi.h(false);
        }
    }

    @Override // o.AbstractC2798wI
    public final void r(Typeface typeface, boolean z) {
        if (this.z) {
            return;
        }
        C3022yi c3022yi = (C3022yi) this.y.m;
        if (c3022yi.j(typeface)) {
            c3022yi.h(false);
        }
    }
}
