Skip to content
Commit 01b6dd29 authored by Santos Cordon's avatar Santos Cordon
Browse files

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
parent 096c8547
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment