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
Loading
Please register or sign in to comment