diff options
Diffstat (limited to 'src/com/android/providers/downloads/DownloadService.java')
-rw-r--r-- | src/com/android/providers/downloads/DownloadService.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/providers/downloads/DownloadService.java b/src/com/android/providers/downloads/DownloadService.java index 7d746cca..0d4266fb 100644 --- a/src/com/android/providers/downloads/DownloadService.java +++ b/src/com/android/providers/downloads/DownloadService.java @@ -368,6 +368,10 @@ public class DownloadService extends Service { PendingIntent.getBroadcast(this, 0, intent, PendingIntent.FLAG_ONE_SHOT)); } + if (!isActive) { + LiveFolderReceiver.updateFolders(this, 0); + } + return isActive; } @@ -413,6 +417,7 @@ public class DownloadService extends Service { deleteFileIfExists(info.mFileName); } mDownloads.remove(info.mId); + LiveFolderReceiver.updateFolders(this, 0); } private void deleteFileIfExists(String path) { |