diff options
| author | 2025-03-03 10:48:42 +0000 | |
|---|---|---|
| committer | 2025-03-03 17:34:27 +0000 | |
| commit | 6ac893b2949206d8c92b50127bdeff1b15536256 (patch) | |
| tree | 423c87a4f7698ea026a1fa6011f0b3a47fb3f799 /ravenwood/scripts/extract-last-soong-commands.py | |
| parent | e01dcc1b45faf39a654780b5e436a4fcb9705116 (diff) | |
Propagate new shade displayId only after display change succeeded
This refactors the meaning of displayId in ShadeDisplaysRepository.
Before: displayId was changing before the shade was moved. So if listeners were listening to it and getting values from the context/resoruces, they would have been wrong
Now: there is a pendingDisplayId, and displayId is only changed after the move succeeded, so listeners to it can expect to have correct resources when it changes.
This will be needed in follow up cls.
Bug: 362719719
Bug: 398011576
Test: ShadeDisplaysRepositoryTest, ShadePrimaryDisplayCommandTest, ShadeDisplaysInteractorTest
Flag: com.android.systemui.shade_window_goes_around
Change-Id: If95ab47471a0914e6b7c2f7959d1c3f76a5deeee
Diffstat (limited to 'ravenwood/scripts/extract-last-soong-commands.py')
0 files changed, 0 insertions, 0 deletions