OSDN Git Service

audioservice: fix DTMF stream volume
authorEric Laurent <elaurent@google.com>
Fri, 4 Oct 2013 01:15:07 +0000 (18:15 -0700)
committerEric Laurent <elaurent@google.com>
Fri, 4 Oct 2013 01:15:07 +0000 (18:15 -0700)
commit24e0d9b6c40712a297e4c287435a3b0fdd30e9da
tree45cb4a45957d9f4fd425ee5eef274edac0e29daf
parent93cb8f6b78079f10836377e825c7f7b63b8e7c21
audioservice: fix DTMF stream volume

DTMF stream must also be muted by silent mode when following ring
stream volume in order to be properly muted and unmuted when ringer
mode changes.

Also fix a problem in VolumeStreamState.setAllIndexes() when some
devices are not present in the stream state from which indexes
are copied.

Bug: 10932676.
Change-Id: I373d0fd1a475980786d97d97348d46a7e7421461
media/java/android/media/AudioService.java