On 07/08/13 00:13, Jonas Sicking wrote:
>> I think we could probably have a system setting to turn on the LED when
>> there is a pending notification. That way, we can fulfil the most
>> important use case without exposing an API for the moment.
> 
> Please, lets not abuse settings API more.

Why is that an abuse? I think we should define what we are looking for
regarding the notifications. Do we want applications to define
themselves how they handle notifications: should the notification come
with a sound? a vibration? a led flashing? etc. or should we make the
system handle that?

I believe that having this handled by the system would lead to a better
user experience because as a user I would be able to say that any
notification should just vibrate and do a low volume sound for example.
We could even imagine behaviour depending on applications or group of
applications. For example, if I had to work in IT, I could configure
some monitoring apps to do loud notifications while social apps would
stay mute.

If we want that kind of behaviour, I believe that using the settings is
appropriate, thus, we should use the Setting API.

Does that make sense?

--
Mounir
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to