Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d6080c5a authored by Rupesh Bansal's avatar Rupesh Bansal
Browse files

Introducing AutomaticBrightnessStrategy

Creating an AutomaticBrightnessStrategy, which will be
responsible for managing all the auto-brightness related states when
evaluating the brightness.

This strategy is currently linked directly to DisplayPowerController2,
and is not implementing the DisplayBrightnessStrategy interface to keep
the scope limited. As a followup, this will be fully ported to inherit
all the properties of a strategy, and there will be no direct linkage
between DisplayPowerController and AutomaticBrightnessStrategy

Test: atest AutomaticBrightnessStrategyTest.java
Bug: 265415257
Change-Id: Idd8479109ee398729c8d84cab82a4bba5f0c6c1f
parent f9e6314f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment