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

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

Moving BrightnessInfo and BrightnessReason outside of

DisplayPowerController to have the support of declaring the brightness
relevant states in DisplayPowerController agnostic fashion.

We primarily need this because currently DisplayPowerController is
tightly coupled with these classes, even though it is not really in the
realm of DisplayPowerController to evaluate it. In future, the vision
is to have a different class which keeps track of all the changes
happening to the brightness and store them in a RingBuffer(Like we do
today). This is taking it one step closer to that, with more verbose
tests
Bug: 233051797
Test: atest BrightnessEventTest && atest BrightnessReasonTest

Change-Id: I15d47cc669bda1c160f02e205168c7aeee9d6658
parent 0facbc98
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