Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4F1DB200C50 for ; Sat, 25 Mar 2017 02:41:50 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4DBA1160B96; Sat, 25 Mar 2017 01:41:50 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 91D5B160B93 for ; Sat, 25 Mar 2017 02:41:49 +0100 (CET) Received: (qmail 368 invoked by uid 500); 25 Mar 2017 01:41:48 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 357 invoked by uid 99); 25 Mar 2017 01:41:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Mar 2017 01:41:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 5B49D1889E5 for ; Sat, 25 Mar 2017 01:41:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 26vCqinZJk1B for ; Sat, 25 Mar 2017 01:41:47 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id C9FD35F297 for ; Sat, 25 Mar 2017 01:41:46 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5DA26E0B33 for ; Sat, 25 Mar 2017 01:41:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id BB5B524071 for ; Sat, 25 Mar 2017 01:41:41 +0000 (UTC) Date: Sat, 25 Mar 2017 01:41:41 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-12146) cordova-plugin-media - Adds support for "playAudioWhenScreenIsLocked" already used in iOS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 25 Mar 2017 01:41:50 -0000 [ https://issues.apache.org/jira/browse/CB-12146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15941482#comment-15941482 ] ASF GitHub Bot commented on CB-12146: ------------------------------------- GitHub user romedius opened a pull request: https://github.com/apache/cordova-plugin-media/pull/137 CB-12146 (android) Adding playAudioWhenScreenIsLocked for Android When loosing focus of the app in android (onPause()) the audio playback is paused when playAudioWhenScreenIsLocked is set to false. ### Platforms affected Android ### What does this PR do? Adds the playAudioWhenScreenIsLocked flag to the Android version. This makes it possible to selectively keep audios playing, when onPause is called. ### What testing has been done on this change? Manual testing on Android N ### Checklist - [X] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database - [X] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected. - [ ] Added automated test coverage as appropriate for this change. You can merge this pull request into a Git repository by running: $ git pull https://github.com/romedius/cordova-plugin-media CB-12146cordova-plugin-media Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-media/pull/137.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 #137 ---- commit 36e4fdf22820f750d96774e0e254327aca062dec Author: Romedius Weiss Date: 2017-03-24T17:54:26Z CB-12146 (android) Adding playAudioWhenScreenIsLocked for Android When loosing focus of the app in android (onPause()) the audio playback is paused if playAudioWhenScreenIsLocked is set to false. ---- > cordova-plugin-media - Adds support for "playAudioWhenScreenIsLocked" already used in iOS > ----------------------------------------------------------------------------------------- > > Key: CB-12146 > URL: https://issues.apache.org/jira/browse/CB-12146 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin Media > Affects Versions: Master > Environment: Apache Cordova media plugin on Android > Reporter: Romedius Weiss > Priority: Minor > Labels: newbie, patch > Fix For: Master > > Original Estimate: 0h > Remaining Estimate: 0h > > This patch adds the support of the playAudioWhenScreenIsLocked flag on Android, listed as quirk for iOS. > https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-media/#ios-quirks > A previous version of the fix was published here: > https://github.com/apache/cordova-plugin-media/pull/54 -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org