summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Nicolo' Mazzucato <nicomazz@google.com> 2025-03-11 20:31:21 +0000
committer Nicolo' Mazzucato <nicomazz@google.com> 2025-03-11 20:35:25 +0000
commit15b2811e2b68a7204c8cbf7901d34b21d971d81d (patch)
tree669ad19bad2c92cadf3c23c12bfade9cd56dff4c /cmds/bootanimation/BootAnimation.cpp
parentac508b9971ab495dbc68e46811ae451aca3b3594 (diff)
Move PerDisplayRepository from SystemUI to displaylib
This moved PerDisplayRepository to displaylib, making it available to places outside of sysui. A thing worth noticing is that the factory is not actually generated from the dagger component of displaylib, as we can't directly expose an element with a generic constructor. The way this works is that PerDisplayRepository takes part in the dagger graph of systemui (or any other project compiling this). For this reason, the @DisplayLibBackground annotation has been introduced, to allow systemui to provide a coroutine scope usable from PerDisplayRepositoryImpl.Factory. Tests are untouched, and still in SystemUI (by purpose, to prove the behavior didn't change) In a follow up I'll remove the displaylib dagger component (not strictly needed here), and move the tests to displaylib. Bug: 401305290 Test: PerDisplayInstanceRepositoryImplTest, builds and runs successfully Flag: NONE - Just moving code around Change-Id: I262d0c6aca5edb94fee39b863ae8ce1a16a1a1e1
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions