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

Change-Id: I90bff1339549ea67176e605cef3b8c7d0071522f