diff options
author | Steven Moreland <smoreland@google.com> | 2018-03-16 10:23:14 -0700 |
---|---|---|
committer | Cosme Domínguez Díaz <cosme.ddiaz@gmail.com> | 2018-04-08 13:51:54 +0200 |
commit | f6049054bda0e2492b4f52fc2fcefc5eb63d2fe5 (patch) | |
tree | de582a78e32025dfc57cae20b35c42a634c8d6c6 /wifi/zuk_readmac.c | |
parent | 9d690b067675d123ce0f4c90ea6676c3946b087c (diff) |
light service: 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
Merged-In: I57ebc11d7ecf57ee327c681455712f4b53de6fd3
Diffstat (limited to 'wifi/zuk_readmac.c')
0 files changed, 0 insertions, 0 deletions