commit | 01b6dd29ffb1141748586019b22233cc3ccc84f3 | [log] [tgz] |
---|---|---|
author | Santos Cordon <santoscordon@google.com> | Sat May 01 11:10:50 2021 +0100 |
committer | Santos Cordon <santoscordon@google.com> | Sat May 01 11:18:18 2021 +0100 |
tree | 0d37a1ef3de1694c8c5b5855295ba372b3bd1a59 | |
parent | 096c8547d336f0f79ce5e42cb1d5c659e4e1ec27 [diff] |
Fix crash on device without nits-backlight mapping When there is no nits mapping, we sent NaN for the sdr backlight value, which is invalid. Instead, send the same (valid) backlight value for normal and SDR brightnesses. Bug: 186895034 Test: Manually verify that a device without nit-backlight mapping can still boot normally. Change-Id: Ie6786fa17776674d914e66727f324368831f6761