[Flame][Music]The music controler will appear at lock screen but it will change to FM radio after unlocking the phone.



Firefox OS
Gaia::System::Audio Mgmt
3 years ago
2 years ago


(Reporter: helen(leave from Mozilla), Unassigned)



Gonk (Firefox OS)

Firefox Tracking Flags

(b2g-v2.2 affected, b2g-master affected)



(2 attachments)



3 years ago
Created attachment 8630389 [details]

[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

Free Test

The FM radio is unavailable on Nexus 5.

Comment 1

3 years ago
Created attachment 8630395 [details]


3 years ago
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.
Flags: needinfo?(hnguyen)

Comment 3

3 years ago
Deferring to Jacqueline for interaction feedback.
Flags: needinfo?(hnguyen) → needinfo?(jsavory)


3 years ago
Keywords: polish

Comment 4

2 years ago
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.
Flags: needinfo?(jsavory)
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

Comment 7

2 years ago
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.