[ 
https://issues.apache.org/jira/browse/CB-6153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14227772#comment-14227772
 ] 

ASF subversion and git services commented on CB-6153:
-----------------------------------------------------

Commit 81a77949fcdc58617423e69f70d74384356873cc in cordova-android's branch 
refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=81a7794 ]

CB-6153 Add a preference for controlling hardware button audio stream 
(DefaultVolumeStream)

This, along with the commit to the audio plugin, makes it so that by
default apps control the ringer volume, but when any audio players are
active, the media volume is controlled.


> Android: Volume buttons control media instead of phone volume
> -------------------------------------------------------------
>
>                 Key: CB-6153
>                 URL: https://issues.apache.org/jira/browse/CB-6153
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>            Reporter: Andrew Grieve
>            Assignee: Andrew Grieve
>            Priority: Minor
>
> CordovaActivity.onCreate has:
> {code}
> setVolumeControlStream(AudioManager.STREAM_MUSIC);
> {code}
> Seems like a poor default. If an app wants to set this, they should do so via 
> a plugin.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to