Closed Bug 1226023 Opened 9 years ago Closed 8 years ago

If playing a song is interrupting by opening and closing camera app the music control works incorrectly

Categories

(Firefox OS Graveyard :: AudioChannel, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-master affected)

RESOLVED DUPLICATE of bug 1228564
Tracking Status
b2g-master --- affected

People

(Reporter: MaxIvanov, Assigned: alwu)

References

()

Details

(Whiteboard: [2.6-Daily-Testing][Spark])

Description:
After interrupting playing a song by opening and closing the camera app a song is not continue playing but music control in notification drawer will look like a song is continue playing.

Repro Steps:
1) Update a Aries to 20151118151339
2) Open the music app and launch any song
3) Return to the Home Screen and launch camera app
4) Return to the Home Screen and open notification drawer
5) Observe music control

Actual:
A song is not continue playing. 'Pause" button will be shown in music control. It means that song should be playing but in fact is is not.

Expected:
Either song should continue playing after closing the camera app or if song remains on pause "play" button in the music control should be shown.

Environmental Variables:
Device: Aries Master
Build ID: 20151118151339
Gaia: cba7e4b86361af31b153cfebaf99900e0b860f7b
Gecko: 1d6155d7e6c91fa5ec1ef6927f3d3a044187896d
Gonk: a19052e4389c3ae2d8fc3e7a74a475401baacc56
Version: 45.0a1 (Master)
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:45.0) Gecko/45.0 Firefox/45.0

Repro frequency: (100%)
See attached: (video clip)
2.5 build is not available today, hopefully we will verify that issue tomorrow.

This does occur on Flame master 
A song is not continue playing. 'Pause" button will be shown in music control. It means that song should be playing but in fact is is not.

Device: Flame Master (KK)(512mb)
Build ID: 20151118030211
Gaia: 28d63cf3bdc4417f7ad8cab2230f096bf9f6d3b5
Gecko: eb3016abd37db2e6a6d923265047e84b12c0af61
Gonk: 205ac4204bbbb2098a8046444acba551ba5dc75a
Version: 45.0a1 (Master)
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:45.0) Gecko/45.0 Firefox/45.0
-------------------------------------------------------------------------

This does NOT occur on Flame 2.2 (KK)(512mb) 
A song is continue playing while users launch the camera app

Environmental Variables:
Device: Flame 2.2
Build ID: 20151113032509
Gaia: 885647d92208fb67574ced44004ab2f29d23cb45
Gecko: e772f343b736
Gonk: bd9cb3af2a0354577a6903917bc826489050b40d
Version: 37.0 (2.2)
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Whiteboard: [2.6-Daily-Testing][Spark]
This seems more like an AudioChannel bug. Moving components so they can take a look.
Component: Gaia::Music → AudioChannel
This does NOT occur on the latest Flame 2.5
The music control does not appear in notification drawer after closing camera app

Device: Aries 2.5
Build ID: 20151119161838
Gaia: 28d63cf3bdc4417f7ad8cab2230f096bf9f6d3b5
Gecko: 497118efc1414c2825a8bd17b38721888c3875ca
Gonk: a19052e4389c3ae2d8fc3e7a74a475401baacc56
Version: 44.0a2 (2.5)
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:44.0) Gecko/44.0 Firefox/44.0

Device: Flame 2.5
Build ID: 20151110094436
Gaia: 07baf613699fa6225359c7f04825c5caeb71d424
Gecko: e14287b00a514a15418dfaa89287030c588ad19d
Gonk: 205ac4204bbbb2098a8046444acba551ba5dc75a
Version: 44.0a2 (2.5)
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:44.0) Gecko/44.0 Firefox/44.0
We think that that behavior in 2.5 when music control does not appear in notification drawer after closing camera app is incorrect, so Bug 1226747 has been failed.
Flags: needinfo?(ktucker)
Flags: needinfo?(ktucker)
Assignee: nobody → alwu
Depends on: 1227078
Flags: needinfo?(ktucker)
Music would be still playing, and the control icon in the notification bar is also correct.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.