package p001a0; import android.content.res.ColorStateList; import android.content.res.Resources; import android.graphics.PorterDuff; import android.graphics.drawable.Drawable; import android.os.Build; /* renamed from: a0.i0 */ /* loaded from: classes.dex */ public final class C0022i0 extends Drawable.ConstantState { /* renamed from: a */ public int f14a; /* renamed from: b */ public Drawable.ConstantState f15b; /* renamed from: c */ public ColorStateList f16c; /* renamed from: d */ public PorterDuff.Mode f17d; public C0022i0(C0022i0 c0022i0) { this.f16c = null; this.f17d = C0016f0.f6j; if (c0022i0 != null) { this.f14a = c0022i0.f14a; this.f15b = c0022i0.f15b; this.f16c = c0022i0.f16c; this.f17d = c0022i0.f17d; } } /* renamed from: a */ public boolean m5055a() { return this.f15b != null; } @Override // android.graphics.drawable.Drawable.ConstantState public int getChangingConfigurations() { int i = this.f14a; Drawable.ConstantState constantState = this.f15b; return i | (constantState != null ? constantState.getChangingConfigurations() : 0); } @Override // android.graphics.drawable.Drawable.ConstantState public Drawable newDrawable() { return newDrawable(null); } @Override // android.graphics.drawable.Drawable.ConstantState public Drawable newDrawable(Resources resources) { return Build.VERSION.SDK_INT >= 21 ? new C0020h0(this, resources) : new C0016f0(this, resources); } }