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

Change-Id: I5f1b5b203b157c2c4475fc61e3d7daff6fa3f7ad