xDrip-Experimental icon indicating copy to clipboard operation
xDrip-Experimental copied to clipboard

Lower notification priority

Open gayprogrammer opened this issue 8 years ago • 4 comments

I would prefer if the notification used a lower priority. I think this makes sense since xDrip is a long-running app, opposed to a notification that requires user attention. Along with that, the icon does not need to be displayed constantly in the status bar.

The functionality to create a priority notification for alarms already exists, so currently it results in two icons in the status bar. Since the goal of showing a notification icon is to get your attention, it would not be good to desensitize the user to it.

I believe that setting a low priority pinned notification will not display the icon in the status bar, but will still show the notification in the notification drawer.

gayprogrammer avatar Mar 22 '16 22:03 gayprogrammer

Is this related to this PR https://github.com/StephenBlackWasAlreadyTaken/xDrip-Experimental/pull/297 ? or is it just a coincidence that both are on the same day?

tzachi-dar avatar Mar 22 '16 22:03 tzachi-dar

No this is not related. This is about the persistent notification (called a pinned notification) showing the bg and graph all the time. That PR is about alert notification for bg alarms.

My issue is that the pinned notification should be low priority so that is does not show an icon in the status bar.

To be clear, the alert notification will still show its own icon in the status bar. That is good, since only an alert requires immediate attention.

gayprogrammer avatar Mar 28 '16 19:03 gayprogrammer

Here is information about selecting notification priority: https://developer.android.com/design/patterns/notifications.html#correctly_set_and_manage_notification_priority

The priority should be PRIORITY_MIN, because the current BG reading is "contextual or background information" for the user. It is not something that normally "Might immediately change the user's behavior in the real world". That is the reason for the existing alarm notifications.

gayprogrammer avatar May 25 '16 01:05 gayprogrammer

The idea was to keep it above the fold at all times on the lock screen, but I understand what you mean.

I personally always want it above the fold so maybe having that priority being toggleable would be a decent option

On Tue, May 24, 2016, 9:33 PM Razz Fox [email protected] wrote:

Here is information about selecting notification priority: https://developer.android.com/design/patterns/notifications.html#correctly_set_and_manage_notification_priority

The priority should be PRIORITY_MIN, because the current BG reading is "contextual or background information" for the user. It is not something that normally "Might immediately change the user's behavior in the real world". That is the reason for the existing alarm notifications.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/StephenBlackWasAlreadyTaken/xDrip-Experimental/issues/298#issuecomment-221450239