diff options
author | kaiyiz <kaiyiz@codeaurora.org> | 2014-03-25 13:40:07 +0800 |
---|---|---|
committer | Michael Bestas <mikeioannina@cyanogenmod.org> | 2016-01-24 03:34:10 +0200 |
commit | 7c62314318501d063b8442f45692b07ac4006f60 (patch) | |
tree | c01592a8c0c4024ab4426a1a3953095efe54533b /res/drawable/download_error.xml | |
parent | ecd609e7017b8a69688bbae25c17d878ea305f19 (diff) | |
download | android_packages_providers_DownloadProvider-7c62314318501d063b8442f45692b07ac4006f60.tar.gz android_packages_providers_DownloadProvider-7c62314318501d063b8442f45692b07ac4006f60.tar.bz2 android_packages_providers_DownloadProvider-7c62314318501d063b8442f45692b07ac4006f60.zip |
DownloadProvider: Still display as downloading after download failed
When the remaining space is less than 10% of the total space,
download will fail, but it still display as downloading in status bar
after failed in "Downloads" app.
Check error status about downloads. If error exists, will update icon
, content title and content text in notification.
CRs-Fixed: 636489
Change-Id: I5554ef3d1505642c5cd847bd3d2e25a29772dc0d
DownloadProvider: Use an alert icon for downloads that have an error status.
Change-Id: If6d0f021cada1a09855009ab3276aa46bec74cfe
Diffstat (limited to 'res/drawable/download_error.xml')
-rw-r--r-- | res/drawable/download_error.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/res/drawable/download_error.xml b/res/drawable/download_error.xml new file mode 100644 index 00000000..8e79df00 --- /dev/null +++ b/res/drawable/download_error.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24" + android:viewportHeight="24"> + + <path + android:fillColor="#fafafa" + android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM13,17h-2v-2h2v2zM13,13h-2L11,7h2v6z"/> +</vector> |