In the case of poor network conditions, Youku android client download video will terminate, the user abandoned the download click to delete the task, the switch to the network good situation to download, will show that the video is in the download queue, and then the client UI interface is not visible. Causes users to not be able to download at all.
In fact, Youku downloads are used in the form of read files
In the Youku Android file directory there, (currently do not consider hanging on the SD card and other storage optimization) is the memory device/youku/offinedata has a lot of downloaded Video folder, which has folder creation time, pictures, flv form of diversity, info file, youku.m3u8 file
Download information (including download queue and so on is put in this folder), currently put this file deleted, that is resolved.
Research and development should consider:
First, when the user deletes the download task, did I delete the corresponding download task folder?
Second, in the app launch, there will generally be an asynchronous/synchronous initialization file (such as cleaning seven days, five days of data) code module, here can add a few deleted/canceled download Task folder I will help users clear it?
Research and development The logic of one more step is to guarantee the user experience better
(original) Youku android client download bug fix