diff options
| author | Steven Moreland <smoreland@google.com> | 2018-10-09 15:52:18 +0200 |
|---|---|---|
| committer | firebird11 <hbgassel@gmail.com> | 2019-01-12 14:33:51 +0100 |
| commit | cc97546fcb1b2d9a2322b5a68b9cbacd3e632e45 (patch) | |
| tree | 13e3a2456e5af41bf3a6f07ab62951fc350a2ecf /lights/service.cpp | |
| parent | 9bcbbce6488880058bdebbeb3a5ae54ad1d00706 (diff) | |
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: I360a27fb9c604023ac58e4fa8e310894849953ca
Diffstat (limited to 'lights/service.cpp')
0 files changed, 0 insertions, 0 deletions
