diff options
| author | 2023-09-07 16:19:17 +0200 | |
|---|---|---|
| committer | 2023-09-25 09:33:16 +0000 | |
| commit | 3d7f0603eb60036c6a1a52a345b9c597e68ee7e4 (patch) | |
| tree | 2a5e44f948a36e0873dff0b7ff26d3683d1c579f /libs/androidfw/StringPool.cpp | |
| parent | b53fbe73cd2a40c6731156713f1eeb414c8b6eb8 (diff) | |
HDMI: Avoid creating multiple local devices with the same type
Do not clear the local devices list when the address allocation
starts, but replace the local devices in the network as they are
allocated.
After the allocation, local devices with types that weren't
allocated are removed.
E.g.: Step 1. Dynamic soundbar mode is enabled -> two local devices are allocated (playback + audio system).
Step 2. Dynamic soundbar mode is disabled -> only one local device is allocated (playback), therefore the local device audio system can be removed.
Test: atest HdmiControlServiceTest
Bug: 297312959
Bug: 297349911
Change-Id: I2778b3f5e2581f79a4d899af8025f4b248fe8375
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions