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

Commit a8299cd5 authored by Nathalie Le Clair's avatar Nathalie Le Clair
Browse files

Remove ActiveSourceAction immediately on standby

If not, the device may still send <Active Source messages for a short
period of time while already going to standby. This may confuse other
devices, as devices in standby cannot be the active source.

Test: manual
Bug: 230189461
Change-Id: I547c47a36311bcf91467680d45b9d24dc3ed1e94
parent c3366d44
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1262,6 +1262,7 @@ abstract class HdmiCecLocalDevice {
            boolean initiatedByCec, final PendingActionClearedCallback originalCallback) {
        removeAction(AbsoluteVolumeAudioStatusAction.class);
        removeAction(SetAudioVolumeLevelDiscoveryAction.class);
        removeAction(ActiveSourceAction.class);

        mPendingActionClearedCallback =
                new PendingActionClearedCallback() {