Actions
Feature #4766
closedPost persistent notification to improve stability
Start date:
Due date:
% Done:
100%
Estimated time:
3.00 h
Description
Android system may stop a background service during memory shortage.
A common way to reduce the chance of a service being stopped is posting a persistent notification.
This issue is to add a persistent notification to the NFD app:
- When NFD is started on the app main screen, a persistent notification says "NFD is running" is posted, and it remains visible in the notification bar.
- Tapping on the notification brings the user back to the NFD app.
- When NFD is stopped on the app main screen, the persistent notification is removed.
Additional information and user interactions within the persistent notification is out of scope of this issue, and should belong to separate issues.
Files
Actions