diff options
author | Chia-I Wu <olv@google.com> | 2018-05-07 13:17:04 -0700 |
---|---|---|
committer | Chia-I Wu <olv@google.com> | 2018-05-09 12:28:28 -0700 |
commit | 9ec9ea7284941141f25b14439aa3aa995ccb9e8c (patch) | |
tree | 345094b74e4b7e4d0dddb60052152ede020bdc77 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions