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

Commit 8bac7b85 authored by Dmitry Shmidt's avatar Dmitry Shmidt Committed by Shubang Lu
Browse files

Fix HdmiCecLocalDeviceAudioSystem audio status report log



Bug: 118165614
Test: Manual

Change-Id: I2899b00d34b8356e82f3223371d551425074faec
Signed-off-by: default avatarDmitry Shmidt <dimitrysh@google.com>
(cherry picked from commit 8eb171afa02ee1d44b9c39d451d17e170d14957b)
parent affa55b4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -781,7 +781,7 @@ public class HdmiCecLocalDeviceAudioSystem extends HdmiCecLocalDeviceSource {
        int maxVolume = mService.getAudioManager().getStreamMaxVolume(AudioManager.STREAM_MUSIC);
        int minVolume = mService.getAudioManager().getStreamMinVolume(AudioManager.STREAM_MUSIC);
        int scaledVolume = VolumeControlAction.scaleToCecVolume(volume, maxVolume);
        HdmiLogger.debug("Reporting volume %i (%i-%i) as CEC volume %i", volume,
        HdmiLogger.debug("Reporting volume %d (%d-%d) as CEC volume %d", volume,
                minVolume, maxVolume, scaledVolume);

        mService.sendCecCommand(