diff options
author | Steve Kondik <steve@cyngn.com> | 2015-10-31 14:31:38 -0700 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-10-31 14:31:38 -0700 |
commit | a65fb3f4e110f0e36d05d60930e2173eabb12b08 (patch) | |
tree | 1212c719d2c83a5a33e677b19e8acae1f740c6a1 /src/com/android/providers/downloads/DownloadService.java | |
parent | a83afb620af5aa6dfc4bcde74a120d90ee92175e (diff) | |
parent | d64cb33d35423d6bf10d3244326acc7ca37d824b (diff) | |
download | android_packages_providers_DownloadProvider-a65fb3f4e110f0e36d05d60930e2173eabb12b08.tar.gz android_packages_providers_DownloadProvider-a65fb3f4e110f0e36d05d60930e2173eabb12b08.tar.bz2 android_packages_providers_DownloadProvider-a65fb3f4e110f0e36d05d60930e2173eabb12b08.zip |
Merge branch 'cm-12.1' of git://github.com/CyanogenMod/android_packages_providers_DownloadProvider into cm-13.0
Diffstat (limited to 'src/com/android/providers/downloads/DownloadService.java')
-rw-r--r-- | src/com/android/providers/downloads/DownloadService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/providers/downloads/DownloadService.java b/src/com/android/providers/downloads/DownloadService.java index b0b73297..dbc2298d 100644 --- a/src/com/android/providers/downloads/DownloadService.java +++ b/src/com/android/providers/downloads/DownloadService.java @@ -366,7 +366,6 @@ public class DownloadService extends Service { final int idColumn = cursor.getColumnIndexOrThrow(Downloads.Impl._ID); while (cursor.moveToNext()) { final long id = cursor.getLong(idColumn); - staleIds.remove(id); DownloadInfo info = mDownloads.get(id); if (info != null) { @@ -398,6 +397,7 @@ public class DownloadService extends Service { isActive |= activeDownload; isActive |= activeScan; + staleIds.remove(id); } // Keep track of nearest next action |