summaryrefslogtreecommitdiff
path: root/ravenwood/scripts/extract-last-soong-commands.py
diff options
context:
space:
mode:
author Nicolo' Mazzucato <nicomazz@google.com> 2025-03-11 20:31:21 +0000
committer Nicolò Mazzucato <nicomazz@google.com> 2025-03-13 06:08:39 -0700
commitc07e73cb3841eabb5814c90b439fc76ba64ce811 (patch)
tree6ffd4b4902c2fefc7e3ae07826fcfc0457ff4625 /ravenwood/scripts/extract-last-soong-commands.py
parent546ca2040347b7b12c068068f42e330314beeadf (diff)
[revert^2] 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: I2e56fd8516ed965779c92bd452bbb79a0d861bcb
Diffstat (limited to 'ravenwood/scripts/extract-last-soong-commands.py')
0 files changed, 0 insertions, 0 deletions