Merge "Improve a performance of a download file creation" into gingerbread