Do not use max/min luminance if it's 0 am: f3f9288eae

Change-Id: I2967c87966fdf909bcb71661878b33c554744ec2