Project

General

Profile

Actions

Feature #4766

closed

Post persistent notification to improve stability

Added by Junxiao Shi about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
gui
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

5030-3.png (108 KB) 5030-3.png Junxiao Shi, 11/20/2018 04:50 AM
5030-5_off.png (50.1 KB) 5030-5_off.png Junxiao Shi, 11/21/2018 05:42 AM
5030-5_icon.png (129 KB) 5030-5_icon.png Junxiao Shi, 11/21/2018 05:42 AM
5030-5_notification.png (110 KB) 5030-5_notification.png Junxiao Shi, 11/21/2018 05:42 AM

Related issues 1 (0 open1 closed)

Related to NFD-android - Bug #3409: NFD-Android stops forwarding packets after running for about 15 minutesClosed

Actions
Actions

Also available in: Atom PDF