Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2770abd7 authored by Danny Baumann's avatar Danny Baumann Committed by Steve Kondik
Browse files

Make LED always behave accordingly to documentation.

http://developer.android.com/reference/android/app/Notification.html#FLAG_SHOW_LIGHTS
says that the notification LED should be lit permanently if onMs > 0 and
offMs == 0. It should be lit off if onMs and offMs both are zero. Both
statements were not enforced in the service so far, leaving it up to the
device specific liblights what to do in those cases.
For consistency (and as no liblights seems to behave accordingly to the
documentation), enforce those statements in the service.
parent 61f606e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment