commit | 310d1999e5478a28b73eacbc5b4db62174431ee9 | [log] [tgz] |
---|---|---|
author | Simon Shields <simon@lineageos.org> | Sat Feb 18 20:55:11 2017 +1100 |
committer | Simon Shields <simon@lineageos.org> | Fri Feb 24 12:53:18 2017 +0000 |
tree | ce7bbe8b5aabed0529b14388f43520e778429b17 | |
parent | 5eda55f20adda211d96359cace7a9a9d8bbfa8ea [diff] |
liblights: add support for adjusting notification LED brightness The old exynos4x12 lights HAL had logic for scaling the brightness of lights according to the light's type and also scaling each R/G/B colour. Bring this logic across, and make the battery LED not eye-searing at night. Based on work by Daniel Hillenbrand. REGRESSION-66 Change-Id: Ia6108468f57c3b6c6a1a68da76a1c3362fd982a5