diff options
author | Santos Cordon <santoscordon@google.com> | 2021-05-01 11:10:50 +0100 |
---|---|---|
committer | Santos Cordon <santoscordon@google.com> | 2021-05-01 11:18:18 +0100 |
commit | 01b6dd29ffb1141748586019b22233cc3ccc84f3 (patch) | |
tree | 0d37a1ef3de1694c8c5b5855295ba372b3bd1a59 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions