linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-users] Linphone for Android notifications beep in Do Not D


From: Sylvain Berfini
Subject: Re: [Linphone-users] Linphone for Android notifications beep in Do Not Disturb
Date: Tue, 8 Dec 2020 16:07:30 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0

Hi Greg,

Thanks to your link I came across this: https://developer.android.com/training/notify-user/build-notification#system-category

So I'll remove the category for the missed calls notifications. And I'll also create a dedicated channel for them, with a lower priority.

Cheers,

Sylvain Berfini
Software Engineer @ Belledonne Communications
Le 08/12/2020 à 16:02, Greg Troxel a écrit :
Sylvain Berfini <sylvain.berfini@belledonne-communications.com> writes:

Indeed we use the category Event for missed calls.
Reading:

  https://material.io/design/platform-guidance/android-notifications.html

Event is defined as "calendar event".  Missed calls are not calendar
events so this is incorrect :-)

However there isn't a missed call category.  I'd pick MESSAGE.  But the
docs

  https://developer.android.com/training/notify-user/build-notification

say not to set one if it doesn't match, and missed call does not match.


However, given that calls are supposed to ring, I'd say missed call
notifications should be preconfigured to be silent.  There's no need to
make noise twice.  So the channel for missed call should default to
IMPORTANCE_LOW.

However on my device there is no issue in do not disturb mode, so it
may be an issue in Lineage OS (I don't have one to test).
It sounds like Lineage is choosing to have Calendar events override DND,
or the user has set it up that way.  Not a bug in lineage, I'd say, or
certaily a separate issue.

_______________________________________________
Linphone-users mailing list
Linphone-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/linphone-users

reply via email to

[Prev in Thread] Current Thread [Next in Thread]