package o; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; /* loaded from: classes.dex */ public abstract class Znn implements Ezi, WJU { public final T c; @Override // o.Ezi public final /* synthetic */ Object e() { Drawable.ConstantState constantState = this.c.getConstantState(); return constantState == null ? this.c : constantState.newDrawable(); } public Znn(T t) { if (t == null) { throw new NullPointerException("Argument must not be null"); } this.c = t; } public void c() { T t = this.c; if (t instanceof BitmapDrawable) { ((BitmapDrawable) t).getBitmap().prepareToDraw(); } else if (t instanceof RiR) { ((RiR) t).a.c.e.prepareToDraw(); } } }