Commit graph

4 commits

Author SHA1 Message Date
rcstar6696
2ab78ba47d clover: rebrand to xiaomi-sdm660 project 2018-12-25 18:26:17 +01:00
coderzstas
2daaa7cc77
clover: light: start light service with new vendor.service name 2018-12-18 15:31:48 +01:00
Steven Moreland
73a8c26a67
clover: light: mark as shutdown critical
Required because the lights need to be turned off late in boot
(e.x. during fsck for disk health), and before, blank_screen
accessing light encountered a race condition where if it didn't
get scheduled before all of the processes which were getting
shutdown were getting killed, the screen wouldn't blank.

Bug: 74976325
Test: adjusting brightness continues to work
Test: screen blanks during shutdown at the correct time
    including when an artificial 5s delay is inserted when
    the phone normally fscks (which can also be quick)

Change-Id: I57ebc11d7ecf57ee327c681455712f4b53de6fd3
2018-10-19 11:52:05 +02:00
Demon000
7cc4ae76ea
clover: Import HIDL Lights Hal for xiaomi devices 2018-09-27 12:02:49 +02:00