Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3d7f0603 authored by Paul Colta's avatar Paul Colta
Browse files

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
parent b53fbe73
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment