cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6153) Android: Volume buttons control media instead of phone volume
Date Wed, 03 Dec 2014 15:11:12 GMT

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

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

Commit 81a77949fcdc58617423e69f70d74384356873cc in cordova-android's branch refs/heads/4.0.x
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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message