diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2019-09-11 10:34:03 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2019-09-13 10:54:48 -0700 |
commit | 91f9b5cc6f4ac8c9058013ab15a693b5f8fd1df1 (patch) | |
tree | 274f069e0c8737218907603f1181c6b33e144d32 /startop/scripts/lib/print_utils.py | |
parent | 4017f8be2f9dcfe597af05854243260ff5e93bc5 (diff) |
AudioService: fix missing CEC message on unmute after vol down
Group in one method sending volume / mute updates to HDMI CEC
when applicable. Use this method, maybeSendSystemAudioStatusCommand,
to avoid code duplication.
Add missing synchronization in onUnmuteStream for stream mute check.
When STREAM_MUSIC is unmuted, also call
maybeSendSystemAudioStatusCommand for a mute adjust, to ensure
other CEC devices' UI is in sync with the internal state.
Bug: 136977965
Test: with ATV device in system audio mode, mute with remote, then \
press vol down on TV remote, verify TV display matches ATV UI \
with current volume.
Change-Id: I279a97871ba98e67f282bf148969ba41ed3f6062
Diffstat (limited to 'startop/scripts/lib/print_utils.py')
0 files changed, 0 insertions, 0 deletions