From a3c2a81606b8c3b271a32a28446641bc6ed1e284 Mon Sep 17 00:00:00 2001 From: Zhao Wei Liew Date: Sat, 1 Oct 2016 19:36:07 +0800 Subject: DownloadProvider: Add support for manual pause/resume Implement the following features: - Manually pause/resume individual downloads in DownloadManager - Manually pause/resume all downloads in notification Based on commit ecd609e7017b8a69688bbae25c17d878ea305f19. Change-Id: I433cdee2de8b3add0248bbb0a9d02f8da4e5bb38 --- res/drawable/download_pause.xml | 16 ++++++++++++++++ res/values/cm_strings.xml | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 res/drawable/download_pause.xml (limited to 'res') diff --git a/res/drawable/download_pause.xml b/res/drawable/download_pause.xml new file mode 100644 index 00000000..c82ec923 --- /dev/null +++ b/res/drawable/download_pause.xml @@ -0,0 +1,16 @@ + + + + + + + + + diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml index 9fca450b..38964af0 100644 --- a/res/values/cm_strings.xml +++ b/res/values/cm_strings.xml @@ -17,4 +17,20 @@ %1$s, %2$s/s + + + Paused + + + Paused, %d%% + + + Resume + + + Pause + + + %d paused -- cgit v1.2.3