Implement suspend, resume and cancel the download.
am: f28585764e

* commit 'f28585764e91b7c25a7c2856ff645c8bb22d64a9':
  Implement suspend, resume and cancel the download.