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

Skip to content
Commit 9735d938 authored by Matías Hernández's avatar Matías Hernández
Browse files

Apply Night Mode as part of ZenDeviceEffects

(Using a temporary API until the new one from b/313418335 is available).

Update DefaultDeviceEffectsApplier to only apply the "diff" of effects (less service calls).

This CL expands the usage of the "origin enum" to cover all the updates of the ZenModeConfig through ZenModeHelper (including setAZRState, loading, etc) and reorders arguments to make them consistent. The enum was also moved to ZenModeConfig so it can be used in DeviceEffectsApplier.

Bug: 308673343
Test: atest ZenModeHelperTest (unit)
Change-Id: I9b7599efdc8f1a55ed026b371d1be639fadf133a
parent c9b5addb
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