commit | e05eef8449e5314c1bd0278b1484130c170a379a | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Thu Mar 08 18:56:34 2018 -0800 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Mon Apr 02 18:11:43 2018 -0700 |
tree | 25ba69847fe27710bb15c029695653c7f8e617c0 | |
parent | 77fcc0da3b95b5a191fa65751aa86bc696260df7 [diff] |
AudioService: prevent muting of alarm / accessibility STREAM_ACCESSIBILITY / ALARM min volume is index 1 Prevent a11y stream volume to be 0 when used separately from media. Prevent setting a volume index above min value. Bug: 72403580 Bug: 74985293 Test: verify media vol can go to 0 ; enable Talkback verify a11y volume can't be muted with vol keys or UI Change-Id: Id46506d4c407f42fe3aca463055b0973e1a7c4dc