{ "id": "119579", "key": "TIMOB-15096", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2013-09-06T09:19:45.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "allowbackground", "android", "createsound", "sound" ], "versions": [ { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:19.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Leaving {{Ti.Media.Sound.allowBackground}} to the default {{false}} will not only mute the sound when the app moves to the background, but also when you open a new heavyweight window (and thus activity) within the app. I can understand why this is because of the activity that created the sound is then paused, but I think this should not be happening for the sake of parity with iOS.\r\n\r\nh1. Proposed improvement\r\nOnly mute when the app itself is paused.\r\n\r\nh1. Workaround\r\nCreate the sound in {{app.js}}. But then, even if you explicitly set {{Ti.Media.Sound.allowBackground}} to {{false}}, the music will continue to play when the app moves to the background.", "attachment": [], "flagged": false, "summary": "Android: (Parity) Ti.Media.Sound.allowBackground:false should not mute when opening new (heavyweight) window", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "SDK/CLI 3.1.2.GA\r\nAndroid 4.1.2 on Samsung Galaxy S2", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }