Use screen off brightness sensor when screen is off due to proximity
When the screen is off due to proximity, the policy isn't POLICY_OFF. By looking at the display state instead we can keep the sensor on. Bug: 362940418 Flag: EXEMPT bugfix Test: AutoBrightnessFallbackStrategyTest, DisplayPowerControllerTest Change-Id: I78da47341e1727b976f57f46b10cf7e74ec0e56e
Loading
Please register or sign in to comment