commit | 9ec9ea7284941141f25b14439aa3aa995ccb9e8c | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@google.com> | Mon May 07 13:17:04 2018 -0700 |
committer | Chia-I Wu <olv@google.com> | Wed May 09 12:28:28 2018 -0700 |
tree | 345094b74e4b7e4d0dddb60052152ede020bdc77 | |
parent | b5eca33bca14d2675e0cf6857caaa1e7925f3b6a [diff] |
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