package p028j;

import android.content.Context;
import android.content.res.Resources;
import android.graphics.drawable.Drawable;
import java.lang.ref.WeakReference;

/* renamed from: j.f3 */
/* loaded from: classes.dex */
public class C1101f3 extends C1241x2 {

    /* renamed from: b */
    public final WeakReference<Context> f2695b;

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

    @Override // android.content.res.Resources
    public Drawable getDrawable(int i) {
        Drawable m1798a = m1798a(i);
        Context context = this.f2695b.get();
        if (m1798a != null && context != null) {
            C1230w2.m1827h().m1811x(context, i, m1798a);
        }
        return m1798a;
    }
}