GitHub user romedius opened a pull request:
https://github.com/apache/cordova-plugin-media/pull/54
Handles the "playAudioWhenScreenIsLocked" similar to the iOS behaviour.
If the Flag is not set the media will be played (standard behaviour up to
now.
If the Flag is set to false, active playing sounds are paused on the
Activitys onPause event and resumed after onResume is fired.
The functionality is implemented similarly to the pausedForPhone
functionality.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/romedius/cordova-plugin-media master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-media/pull/54.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #54
----
commit ec05d456757afd43b17f51508758f027f3b38e05
Author: Romedius Weiss <[email protected]>
Date: 2015-05-08T17:55:17Z
Handles the "playAudioWhenScreenIsLocked" similar to the iOS behaviour.
If the Flag is not set the media will be played (standard behaviour up to
now.
If the Flag is set to false, active playing sounds are paused on the
Activitys onPause event and resumed after onResume is fired.
The functionality is implemented similarly to the pausedForPhone
functionality.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]