diff options
| author | 2024-10-11 15:22:37 +0100 | |
|---|---|---|
| committer | 2024-10-11 15:24:05 +0100 | |
| commit | d57efdf24ddb1de30dcc8b14187c767af3222467 (patch) | |
| tree | 16c6b460b43b3d8a6836bd247025068347686bcf /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | 92be35f867d8e8717fba3fba00758897fc3061e1 (diff) | |
DisplayRepository: tweak to implementation of displayAdditionEvent
- Change it so that it only emits after `displays` has emitted. This
guarantees that calls to `getDisplay` with the newly added display id
will always be non-null.
- This also allows us to reuse an existing `Display` instance, without
having to do another call to `DisplayManager`
Test: DisplayRepositoryTest
Bug: 367592591
Flag: EXEMPT small implementation tweak covered with tests
Change-Id: Ic5d6f877d8ab77f13e239632f6dee1deecdf97eb
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions