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

Skip to content
Commit 46f845da authored by Paul Colta's avatar Paul Colta
Browse files

HDMI: Fix DeviceDiscoveryAction continuing when removed

Currently, in HdmiCecLocalDevicePlayback the method
`launchDeviceDiscovery` removes an existing DeviceDiscoveryAction to
start a new one.

Removing an action means that the mState is set to STATE_NONE that in
most cases will stop any action from proceeding to another step.
DeviceDiscoveryAction is different because it has a call to poll devices in network. After the poll finished its callback called `startPhysicalAddressStage` that overrides the mState set by the remove before.

Test: atest HdmiCecLocalDevicePlaybackTest
Bug: 317956435

Change-Id: I44747621e96be05f3caf6d4aa18fd2aac895aeeb
parent 3fca7acc
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