diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2019-04-22 12:21:50 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2019-04-22 16:35:42 -0700 |
commit | b32faaa1cce21b24f20d72d8aaa5bf8dd238a164 (patch) | |
tree | 0b02bbd49468f60b50f9866505bac2c2d7ee2a09 /startop/scripts/lib/cmd_utils.py | |
parent | a99ff5fa9a7bb43113db51c0069222417accd322 (diff) |
AudioService: manage hearing aid volume for calls
Add a mechanism to support audio devices that behave like "absolute
volume" in AVRCP, but that support multiple use cases based on
the audio mode.
Treat hearing aid as such a device:
any change in audio mode will cause the volume of the corresponding
dominent use case to be applied.
Fix a typo in SCO client death that caused a class cast issue.
Bug: 131091438
Bug: 129163231
Test: set hearing aid volume to X for media, take phone call and set volume to Y,
end call, verify volume is X for media.
Change-Id: Id778f69b98825c83b7137917bd81e973298ab8bb
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions