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

Commit 90d60031 authored by Piotr Wilczyński's avatar Piotr Wilczyński
Browse files

Doze brightness strategy

Move the remaining doze brightness logic to DozeBrightnessStrategy. The strategy computes the brightness in one of the following ways:
- a brightness override from Dream Manager
- current brightness setting * doze scale factor (if there's an offload session)
- default doze brightness

Add a missing test to AutomaticBrightnessControllerTest and DisplayBrightnessStrategySelectorTest.

Bug: 341894395
Test: atest DisplayServiceTests
Flag: com.android.server.display.feature.flags.doze_brightness_strategy
Change-Id: I213fba54d8a03f1dfd3a120a579ae3491a3b834e
parent 0a91f032
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment