diff options
| author | Steven Moreland <smoreland@google.com> | 2018-03-16 10:23:14 -0700 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2019-01-03 16:38:53 +0100 |
| commit | 552a5f2066d071036944f1c04406aa147d4b7dfe (patch) | |
| tree | 484c6a59c794270c1a7711473bddbaf1a650587b | |
| parent | 8f2fcfc832a469cc48655a9f874ddc844f9e9c73 (diff) | |
| download | android_hardware_lineage_interfaces-552a5f2066d071036944f1c04406aa147d4b7dfe.tar.gz android_hardware_lineage_interfaces-552a5f2066d071036944f1c04406aa147d4b7dfe.tar.bz2 android_hardware_lineage_interfaces-552a5f2066d071036944f1c04406aa147d4b7dfe.zip | |
light: aw2013: 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
| -rw-r--r-- | light/2.0-aw2013/android.hardware.light@2.0-service.aw2013.rc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/light/2.0-aw2013/android.hardware.light@2.0-service.aw2013.rc b/light/2.0-aw2013/android.hardware.light@2.0-service.aw2013.rc index e859331..7018bb7 100644 --- a/light/2.0-aw2013/android.hardware.light@2.0-service.aw2013.rc +++ b/light/2.0-aw2013/android.hardware.light@2.0-service.aw2013.rc @@ -12,3 +12,4 @@ service vendor.light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service.a class hal user system group system + shutdown critical |
