package X6FRs_4.KQgRr5e_0.LGe8pk_15;

import android.content.Context;
import android.content.res.Resources;
import android.graphics.drawable.Drawable;
import java.lang.ref.WeakReference;
/* compiled from: TintResources.java */
/* loaded from: classes.dex */
public class XuVgy_28 extends ZzDuCHW_20 {
    public final WeakReference<Context> KQgRr5e_0;

    public XuVgy_28(Context context, Resources resources) {
        super(resources);
        this.KQgRr5e_0 = new WeakReference<>(context);
    }

    @Override // X6FRs_4.KQgRr5e_0.LGe8pk_15.ZzDuCHW_20, android.content.res.Resources
    public Drawable getDrawable(int i) throws Resources.NotFoundException {
        Drawable drawable = super.getDrawable(i);
        Context context = this.KQgRr5e_0.get();
        if (drawable != null && context != null) {
            IFxWkV_5.KQgRr5e_0();
            IFxWkV_5.KQgRr5e_0(context, i, drawable);
        }
        return drawable;
    }
}
