{ "id": "115680", "key": "TIMOB-14152", "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": [ { "id": "15494", "description": "2013 Sprint 12 Core", "name": "2013 Sprint 12 Core", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "15110", "description": "2013 Sprint 12", "name": "2013 Sprint 12", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-06-10T19:40:50.000+0000", "created": "2013-06-07T18:10:31.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:24.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Steps to reproduce:\r\n\r\n1. Run the following code:\r\n{code}\r\nvar win = Titanium.UI.createWindow({ \r\n title:'Audio Test',\r\n backgroundColor:'#fff',\r\n layout: 'vertical'\r\n});\r\n\r\nvar audioPlayer = Ti.Media.createAudioPlayer({ \r\n url: 'cricket.wav',\r\n allowBackground: false\r\n}); \r\naudioPlayer.start();\r\nwin.open();\r\n{code}\r\n2. Hit the power button to lock the phone\r\n3. Hit the power button to go to the unlock screen\r\n\r\nExpected Result:\r\nThe sound should not resume until you actually unlock the screen\r\n\r\nActual Result:\r\nSound resumes as soon as you reach the unlock screen", "attachment": [ { "id": "39590", "filename": "cricket.wav", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-07T18:10:31.000+0000", "size": 80923, "mimeType": "audio/wav" } ], "flagged": false, "summary": "Android: Sound resumes during the phone lock screen in Gingerbread devices", "creator": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "256734", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Another test case using sound instead of audio player:\n{code}\nvar win = Titanium.UI.createWindow({ \n title:'Audio Test',\n backgroundColor:'#fff',\n layout: 'vertical'\n});\nvar player = Ti.Media.createSound({url:\"cricket.wav\"});\nplayer.play();\nwin.open();\n{code}\n\nThe test steps are the same as the original ones mentioned.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-07T21:12:14.000+0000", "updated": "2013-06-07T21:12:14.000+0000" }, { "id": "256735", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/4366", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-07T21:12:23.000+0000", "updated": "2013-06-07T21:12:23.000+0000" }, { "id": "276234", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix. The sound stops when the phone is locked using the power button & again starts playing when we unlock the phone.\r\nThus closing.\r\n\r\nEnvironment:\r\nAppcel Studio : 3.2.0.201310221639\r\nTi SDK : 3.2.0.v20131022050844\r\nMac OSX : 10.8.5\r\nCLI - 3.2.0 with hash 72f7426b4ee6c2d2883c666d5b7e03906a16012f\r\nDevice: Samsung Galaxy S4 running android 4.2.2 & Motorola droid running android 2.3.3\r\n", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-22T21:31:34.000+0000", "updated": "2013-10-22T21:31:34.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }