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

Commit 8d8a447a authored by hongchao.yin's avatar hongchao.yin Committed by Dorin Drimus
Browse files

not unmute when disconnect hdmi_out [Audio]



do not unmute when disconnect hdmi_out.

Bug: 297980843

Test: play some video, mute it, then unplug hdmitx, plug hdmitx

Change-Id: I1005550cbf7f8c2e586397ab7127a7fc087dde1d
Signed-off-by: default avatarhongchao.yin <hongchao.yin@amlogic.com>
parent 4797fc9a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -7629,7 +7629,6 @@ public class AudioService extends IAudioService.Stub
        DEVICE_MEDIA_UNMUTED_ON_PLUG_SET.addAll(AudioSystem.DEVICE_OUT_ALL_A2DP_SET);
        DEVICE_MEDIA_UNMUTED_ON_PLUG_SET.addAll(AudioSystem.DEVICE_OUT_ALL_BLE_SET);
        DEVICE_MEDIA_UNMUTED_ON_PLUG_SET.addAll(AudioSystem.DEVICE_OUT_ALL_USB_SET);
        DEVICE_MEDIA_UNMUTED_ON_PLUG_SET.add(AudioSystem.DEVICE_OUT_HDMI);
    }
    /** only public for mocking/spying, do not call outside of AudioService */