Android-side Download Manager - notifications bug

REPRODUCIBILITY (% or how often): 100%
BUILD ID = OS VERSION (Settings > About product): 4.3.0.15
HARDWARE (XA2, X10, X10 II, …): XA2 Ultra Dual SIM
UI LANGUAGE: Polish, English
REGRESSION: (compared to previous public release: Yes, No, ?): Don’t know

DESCRIPTION:

The Android’s built-in (system) Download Manager has a bug on SFOS when it comes to notifications, which kind of “pile up”. For each new file downloaded by an Android app using Android’s Download Manager, not only notification for the currently downloaded file is shown but for all previously downloaded files, one by one. When I download - say - the 10th file and its download ends, I am then shown notifications about 9 previously downloaded files and eventually the current 10th one. Even shutting down and restarting Android support doesn’t help as it still remembers all those notifications and re-shows them. The only solution I found is to delete the cache/user data of Download Manager using Android settings.

PRECONDITIONS:

STEPS TO REPRODUCE:

  1. On Android, using an app that utilizes the Android Download Manager, download a file - when it finishes downloading you’re shown a notification.
  2. Download another file - when it ends you’ll first see a notification of the previously downloaded file, then notification of the current file.
  3. And so on.

EXPECTED RESULT:

Only one notification about the currently downloaded file is shown.

ACTUAL RESULT:

Notifications of all files downloaded using the Android’s Download Manager are endlessly remembered and shown one by one upon each new download.

ADDITIONAL INFORMATION:

(Please ALWAYS attach relevant data such as logs, screenshots, etc…)

Have you an example of an android app using the Android Download Manager?

The only one that comes to my mind at the moment is

If you click on an image or movie and select to download it from the menu, it uses Android’s download manager for that.

As for the bug, tapping the notification about successful download (which displays the downloaded image in Gallery app) dismisses the notification and it doesn’t come back. But it is not a good thing to have to always open every downloaded file just to cancel notifications which otherwise keep being shown over and over again.