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

Skip to content
Commit 9ec9ea72 authored by Chia-I Wu's avatar Chia-I Wu
Browse files

Fix night light and COLOR_MODE_AUTOMATIC

The native mode methods in DisplayTransformManager were used to
decide whether the color matrix works in linear or gamma space.  For
COLOR_MODE_AUTOMATIC, the color matrix works in lienar instead of
gamma space.

Fix the native mode methods to be more clear about the intention to
avoid future breakage.

Bug: 79257138
Test: manual and atest FrameworksServicesTests:ColorDisplayServiceTest
Change-Id: Ied60a62bd7330e87c3207f2183d7e83af9e51fb7
parent b5eca33b
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