diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2017-04-27 15:37:34 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2017-04-27 18:13:13 -0700 |
commit | 1ab43f6b03b8540b7867311a41d98e18ef033352 (patch) | |
tree | 9ee4b31a2573f6a2329cb0edcc9a750de32621cc /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | a2f102b17593619d2a628189869ceb5b3b6459b0 (diff) |
AudioService: unmute media on connection of new audio accessory
When plugging in a new audio device:
- if the device is considered an external accessory
- and media volume is muted
- and the media volume is non-zero for this device
- and it is used for media playback
then unmute STREAM_MUSIC.
Log when AVRCP absolute volume is supported.
Test: mute media volume with icon, insert headset then play music, music should not be muted
Bug: 30440012
Change-Id: I102f26c435fa5cbd1e1bc4c14f51629d3cc51fb3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions