Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-6153

Android: Volume buttons control media instead of phone volume

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-android
    • Labels:
      None

      Description

      CordovaActivity.onCreate has:

      setVolumeControlStream(AudioManager.STREAM_MUSIC);
      

      Seems like a poor default. If an app wants to set this, they should do so via a plugin.

        Attachments

          Activity

            People

            • Assignee:
              agrieve Andrew Grieve
              Reporter:
              agrieve Andrew Grieve
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: