diff options
| author | 2023-10-31 02:01:06 +0000 | |
|---|---|---|
| committer | 2023-11-07 22:48:57 +0000 | |
| commit | 417accdcaac72dffce9039c971cb867fcf279653 (patch) | |
| tree | cf9fb964f30abf7972b8584bd0d5ccdaa185b8cf /api/api_test.go | |
| parent | 10614f6487059a631cda474e820a6e6ff33e208d (diff) | |
refactor(force invert): use enum/intdef for force dark type in setForceDark() functions
This allows the RenderNode to differentiate between normal force dark
and force force-dark (force invert color). In the next CL we will treat
force invert slightly differently, not allowing devs to opt-out of force
dark in individual Views/RenderNodes.
This also sets us up to specify a "force light" mode for force invert,
if we ever need it.
Bug: 282821643
Test: atest ViewRootImplTest
Change-Id: I8cc0fe099cccabdd09ea072aca1e70527e91e1a8
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions