DO NOT MERGE: Add dynamic doze check for the active doze light sensor. am: 789954fb69  -s ours
am: 1cd816eeac  -s ours

Change-Id: I1535c1bc21f6c1eaa00787eb2b26a6085f7b69f7