package ge;

import android.content.Context;
import android.graphics.drawable.Drawable;
import kotlin.jvm.internal.t;
import yd.j;

/* loaded from: classes4.dex */
public final class h implements v7.d {

    /* renamed from: p, reason: collision with root package name */
    private final int f19907p;

    /* renamed from: q, reason: collision with root package name */
    private final int f19908q = j.f52319i;

    public h(int i10) {
        this.f19907p = i10;
    }

    public final Drawable c(Context context) {
        t.g(context, "context");
        int i10 = this.f19907p;
        if (i10 != 0) {
            return context.getDrawable(i10);
        }
        return null;
    }

    @Override // v7.d
    public int q() {
        return this.f19908q;
    }
}
