alongubkin / alongubkin/audiotoggle

Allow Switch back to MODE_NORMAL

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
47
Forks
77
PR merge metrics
No merged PRs in 30d

Description

Howdy,

I've been testing this plugin and it works great. However, there is one issue on Android.

The problem is that neither `MODE_IN_COMMUNICATION` or `STREAM_MUSIC` is the normal media mode. So after switching to one or the other, audio from other applications does not function correctly. We need to be able to switch back to the communication mode when the application pauses or ends: `MODE_NORMAL`

http://developer.android.com/reference/android/media/AudioManager.html#MODE_NORMAL

Will work on adding some methods to do that.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.