Closed Bug 1181614 Opened 10 years ago Closed 8 years ago

Augment existing notifications API to use notification LED if the device has one

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sole, Unassigned)

References

Details

(Keywords: DevAdvocacy, Whiteboard: [DevRel:PX])

Right now devices with a notification LED such as a Nexus 4, 5, or even the SONY Z3C look 'dead' if a notification happens and the user wasn't looking / listening to the device. In Android you can enable this pulse light using the Notification API: https://developer.android.com/reference/android/app/Notification.html#ledARGB It'd be great if Gaia could use this feature too -- and being able to specify a desired colour would also be very cool. Another option would be to have a new API that lets developers access the LED by itself. It would be a good complement to the upcoming Push API: http://www.w3.org/TR/push-api/ Note: I also found this other bug but it is not clear to me if it means the flash light or the notification led, as there are mentions to torch all over there: https://bugzilla.mozilla.org/show_bug.cgi?id=1065404
Bug 1065404 is about the LED, yes. But I think it's a slightly different use case you ask for, even if both would share the same backend implementation.
Depends on: LED-API
Whiteboard: [DevRel:PX]
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.