Download: use "control" column to mark paused/resumed status
Before, column "status" is directly updated when user pauses/resumes download, this causes status shown to user is not same as real status because pausing/resuming needs a little time not instantly, and then causes some status error. The column "control" is updated instead of "status". When user pauses download, will update "control" as CONTROL_PAUSED and set "status" as STATUS_PAUSED_BY_APP until pausing operation is finished; and when user resumes download, will update "control" as CONTROL_RUN and change the status as STATUS_RUNNING until DownloadThread is started to run. Then the status shown to user will be same with real download status. Change-Id: I2204b972d24b809f7914b0981cad11e9175f4ae6 CRs-Fixed: 737182
Loading
Please register or sign in to comment