class HaloUtils {

    @Api(1.0)
    @SuppressWarnings("deprecation")
    public static Drawable getDrawable(Context context, @DrawableRes int resource) {
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
            return context.getResources().getDrawable(resource, null);
        }

        return context.getResources().getDrawable(resource);
    }

    private  HaloUtils();

}