You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
To be able to have background privileges on AbstractFetchDownloadService, we have to adhere to the rules of Foreground services, one of these rule indicates that a foreground service need to have a pinned notification to make users aware of the app doing something in background, while we have these privileges the notification can't be dismissed or swipe away. This what users are experiencing in issues like mozilla-mobile/fenix#15527, this is not a problem while downloads are being downloaded as we don't want users swiping them away by mistake, BUT when downloads are completed we need to call stopForeground and allow users to swipe the foreground notification away.
Amejia481
changed the title
Stop the AbstractFetchDownloadService when all downloads are completed
Call stopForeground on when all downloads are completed
Oct 30, 2020
Amejia481
changed the title
Call stopForeground on when all downloads are completed
Call stopForeground when all downloads are completed
Oct 30, 2020
Amejia481
added a commit
to Amejia481/android-components
that referenced
this issue
Oct 30, 2020
To be able to have background privileges on AbstractFetchDownloadService, we have to adhere to the rules of Foreground services, one of these rule indicates that a foreground service need to have a pinned notification to make users aware of the app doing something in background, while we have these privileges the notification can't be dismissed or swipe away. This what users are experiencing in issues like mozilla-mobile/fenix#15527, this is not a problem while downloads are being downloaded as we don't want users swiping them away by mistake, BUT when downloads are completed we need to call stopForeground and allow users to swipe the foreground notification away.
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: