diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2018-03-08 18:56:34 -0800 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2018-04-02 18:11:43 -0700 |
commit | e05eef8449e5314c1bd0278b1484130c170a379a (patch) | |
tree | 25ba69847fe27710bb15c029695653c7f8e617c0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions