Commit graph

6 commits

Author SHA1 Message Date
Max Weffers
53c8ca3cdb
sdm660: light: Support Red LED in Lights hal
* keep it for custom kernels

Change-Id: I30d8dcd41be3522b94bd7510c1f9be7569451d04
2020-08-12 02:02:38 +06:00
dianlujitao
93f0b0ba58
sdm660-common: Support button backlight
Change-Id: Id13a42976df428c95c19eae49e1c114f057510bb
2020-08-12 02:02:37 +06:00
dianlujitao
4a0d509d3c
sdm660-common: Improve lights HAL
* Use libbase logging and file utils
 * Read max brightness from sysfs
 * Convert constants to constexpr
 * Move helper functions to anonymous namespace
 * Bug fixes
 * Remove redundant chmod
 * Start the service after permissions are set up because it reads max
   brightness in constructor.

Change-Id: I145d393c785e182060c5651e796d489f8c4d697b
2020-08-12 02:02:37 +06:00
dianlujitao
35ff9a708f
sdm660-common: lights: red -> white
Change-Id: I097c542f95434d85b8c041b156dfd81952c64164
2020-08-12 02:02:37 +06:00
Luca Stefani
4b3dfd83e7
sdm660-common: lights: Update service entry for P
Change-Id: I3f557e1c2fc774e11326e0dc769fc7d25852d819
2019-08-14 10:04:10 +02:00
Max Weffers
cb1b743b8d
sdm660-common: Transform into common sdm660 tree 2019-08-14 10:04:10 +02:00
Renamed from light/android.hardware.light@2.0-service.xiaomi_wayne.rc (Browse further)