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

Skip to content
Commit 18a0ffdb authored by Piotr Wilczyński's avatar Piotr Wilczyński
Browse files

Create setBrightnessFromOffload method

The method will be used by the offload chip to set brightness temporarily before we get a lux reading. It should not affect the short-term model.
- create a new strategy for the brightness from offload
- add isActive property to the session and don't use offload brightness if the session isn't active

Bug: 307894098
Test: atest com.android.server.display
Change-Id: Ifeef8b26a60f0a04db1937f2b03f1a43335be85e
parent 813da462
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