Arian
688407d50e
davinci: rootdir: Drop led permissions from ueventd
...
* Set the permissions we need from lights HAL
Change-Id: I93bc6cc0aab1d55f32b53a01df662fe5327c0199
2020-11-28 18:12:02 +01:00
vasishath
4979e2c172
davinci: light: Detect maximum brightness dynamically
...
Change-Id: I9385be40a8598e1142bb3844446b6bbeb5aab008
2020-08-05 14:03:32 +02:00
Demon000
b7413b8791
davinci: light: Simplify alpha scaling logic
...
Change-Id: I9b5c15d5ec4865d3bf829457d6f110ddb3af6e94
2020-08-05 14:03:32 +02:00
Demon000
25523a776d
davinci: light: Do not turn on breathing for unlit hardware states
...
Change-Id: I093fb2fb81012a473eda232d3c3407d0e0791907
2020-08-05 14:03:32 +02:00
Demon000
13a3863832
davinci: light: Avoid resetting state
...
The handler function is called regardless of whether the value of the
highest priority state changed.
In case of the notification led, this translates to the breathing
process being reset, which triggers my OCD.
Change-Id: I4880b00602cbb739219871f1d7ce9ad85d87bc1b
2020-08-05 14:03:32 +02:00
Demon000
feedda1d84
davinci: light: Avoid uint32_t underflow
...
Change-Id: If4f9360cc301ee8ba9f432dbbe3379c2c634c574
2020-08-05 14:03:32 +02:00
Demon000
e5440961f0
davinci: light: Properly scale brightness range
...
Change-Id: I0c7b9d2644bbc67a1d404e60bbb2fcc7d8a305ec
2020-08-05 14:03:32 +02:00
Arian
5af8701925
davinci: lights: Adjust for davincis LEDs
...
Change-Id: If9e5afe292b023a8aa4d5ba509e206f9a4ff371f
2020-08-05 14:03:32 +02:00
Demon000
3e94ffe9a3
davinci: light: Import HAL from Xiaomi msm8998-common
...
Change-Id: Ieee4277f15927b4522deaec9a709809cf6db6fea
2020-08-05 14:03:32 +02:00