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

Skip to content
Commit 90884dbc authored by Caitlin Shkuratov's avatar Caitlin Shkuratov
Browse files

[CS] 4/ Small updates to LetterboxAppearanceCalculator APIs.

The next CL will move the status bar mode & appearance calculations
which require some updates to the LetterboxAppearanceCalculator APIs.
This CL makes those API changes so that the next CL is slightly cleaner.

Changes:
 - Use List instead of Array. (Kotlin data classes require List instead
   of Array and the upcoming repo will use data classes)
 - Directly fetch the icon colors instead of getting them from
   LightBarController. (Removing this LightBarController dependency
   means that the next CL won't have a circular dependency)

Bug: 300519002
Test: smoke test of letterboxing effect on status bar icons
Test: dump LetterboxAppearanceCalculator
Test: atest LetterboxAppearanceCalculatorTest
Change-Id: Ifafceabd19de86961693136e26df5314728340ca
parent b14d7c70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment