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

Skip to content
Commit 7f766f24 authored by Yan Han's avatar Yan Han
Browse files

Ignore incoming <Set Audio Volume Level> messages with out-of-bounds volume

Previously, such messages could cause a TV to change its volume level to
100% at unexpected times, because Playback devices may use <Set Audio
Volume Level>[127] to check whether the TV supports the message.

(The CEC range for volume index is 0 to 100 inclusive. 127 means
"unknown volume".)

Bug: 286559620
Test: atest com.android.server.hdmi.HdmiCecLocalDeviceTvTest#receiveSetAudioVolumeLevel_volumeOutOfBounds_noVolumeChange; manual

Change-Id: Ie1abda753b2a6eaccc54970ff15ba3022ad66b31
parent fb685b91
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