Created attachment 8630389 [details] Flame_v2.2.3gp [1.Description]: [Flame v2.2 & master][Music]Pause music at notification and turn on the FM radio,then the music controler will appear at lock screen but it will change to FM radio after unlocking the phone. Occur Time: 09:53 Attachment: logcat0953.txt & Flame_v2.2.3gp [2.Testing Steps]: 1.Play a music. 2.Drag down notification and tap pause icon to pause music. 3.Plug in a headphone and let the FM radio play. 4.Tap power button twice, and tap music controler to play Music at the lock screen. 5.Unlock the Device. [3.Expected Result]: 5.It will play music. [4.Actual Result]: 4.Music can play in the headphone. 5.It will turn to FM in the headphone. [5.Reproduction build]: Device: Flame 2.2 (affected) Build ID 20150706162504 Gaia Revision ea11f422b687a982f0a961c9aea7858066561707 Gaia Date 2015-07-02 23:37:50 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/52d19a805d35 Gecko Version 37.0 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20150706.200602 Firmware Date Mon Jul 6 20:06:13 EDT 2015 Bootloader L1TC000118D0 Device: Flame master (affected) Build ID 20150706160206 Gaia Revision dc6c18c0dea7af3c40bfff86c530fd877d899dc4 Gaia Date 2015-07-04 01:35:20 Gecko Revision https://hg.mozilla.org/mozilla-central/rev/cef11c3e86c3 Gecko Version 42.0a1 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20150706.193137 Firmware Date Mon Jul 6 19:31:49 EDT 2015 Bootloader L1TC000118D0 [6.Reproduction Frequency]: Always Recurrence,5/5 [7.TCID]: Free Test [8.Note]: The FM radio is unavailable on Nexus 5.
status-b2g-v2.2: --- → affected
status-b2g-master: --- → affected
It is a UX flow question. Need Music/FM Radio & Lockscreen owner for more input. @Hung, could you help here.
Deferring to Jacqueline for interaction feedback.
Flags: needinfo?(hnguyen) → needinfo?(jsavory)
Sounds like another AudioChannel issue.
Component: Gaia::Music → AudioChannel
Sorry for the delay on this one. Yes, the radio should pause and only music should be actively playing for the user. If the user unlocks the device on the radio app, the radio should display that it is in the stopped state and only play if the user taps the play button.
This case didn't be considered in our UX spec, we need to update it and make it more detailed. After the audio competing happened, once the interrupted app is back to foreground, it would be regard as the app want to playback again. In this case, FM would be resumed is because it's back to foreground after unlock the phone.
Component: AudioChannel → Gaia::System::Audio Mgmt
Arguably, the real bug here is that FM Radio doesn't support the lockscreen "now playing" widget.
You need to log in before you can comment on or make changes to this bug.