diff options
| author | 2024-10-31 15:14:33 +0000 | |
|---|---|---|
| committer | 2024-10-31 16:41:40 +0000 | |
| commit | 88228a8a16a6624d450e31be07d920828b11a726 (patch) | |
| tree | 5371699ad9820719c8cf741b8da331560e01a99b /api/api_test.go | |
| parent | 83dffac86d6beac33d8c2b8fed900a8aaf57eb6a (diff) | |
Prepare LightBarController for multi display
1 - Split interface and impl
2 - Turn impl into an @AssistedInject class
3 - Add a stop() method to impl, so that things can be unregistered
4 - Create a PerDisplayStore for it
NavigationBar was already creating an instance per display, therefore
their code is already using the new store. This ensures everyone is
using the same instance per display.
Test: NavigationBarTest.java
Test: LightBarControllerTest.java
Test: LightBarControllerStoreImplTest.kt
Flag: EXEMPT no behavior change. NavigationBar was already creating one
instance per display. StatusBar continues to use the default
instance as before.
Bug: 369337696
Change-Id: I988b220d92811ef72c4011638a2641163d65e089
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions