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

Skip to content
Commit 36890a74 authored by Alexander Martinz's avatar Alexander Martinz Committed by Christopher H.
Browse files

NotificationManagerService: do not use flashing API for staying always on



We allow to let the user set, that the notification light should stay
always on instead of flashing.

For that we are setting on duration to 1 and off duration to 0.
This can confuse some light HALs and/or kernel drivers.

Instead of using setFlashing, use setColor if duration is 1:0, like
we are already using for battery lights.

Change-Id: I4953592c72e0d095178757211dce2e206d8adb3c
Signed-off-by: Alexander Martinz's avatarAlexander Martinz <amartinz@shiftphones.com>
parent fa0d0fb0
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