Closed Bug 992361 Opened 8 years ago Closed 8 years ago

[B2G][Tarako][FM Radio] Music does not unmute after completing a phone call.

Categories

(Firefox OS Graveyard :: Gaia::FMRadio, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v1.3 unaffected, b2g-v1.3T affected, b2g-v1.4 unaffected)

RESOLVED WORKSFORME
Tracking Status
b2g-v1.3 --- unaffected
b2g-v1.3T --- affected
b2g-v1.4 --- unaffected

People

(Reporter: jmitchell, Unassigned)

Details

(Whiteboard: [tarako-exploratory], OOM)

Description:
When listening to music, the music will mute when you recieve a phone call and then unmute when the call is concluded. On the Tarako device when you are listening to the Radio through the FM Radio app, the radio will become muted on recieving a phone call but will not unmute once the call is concluded.

Repro Steps:
1) Update a Tarako to BuildID: 20140404004001
2) Plug in headphones and launch FM Music app
3) Find a station so you have audio through your headset
4) Recieve a phone call
5) Answer and then hang up after a few seconds
Actual:
Music from FM radio app does not unmute
Expected:
Radio music will unmute

1.3T Environmental Variables:
Device: Tarako 1.3T MOZ
BuildID: 20140404004001
Gaia: acd18bbd94ebfa534e252a24a75a0617e4b5d5ae
Gecko: 91a1b54da4a6
Version: 28.1
Firmware Version: SB8810

Repro frequency: 80% (Repro rate is MUCH higher with a short duration phone call - 5 seconds or less). Repro rate drops significantly with longer duration phone calls.
See attached: logcat.txt

Notes: 
This issue does not repro on Buri 1.3
1.3 Environmental Variables:
Device: buri 1.3 MOZ
BuildID: 20140401164001
Gaia: c5cd3a11e91339163b351d50769eaca0067da860
Gecko: 5045a67b47ed
Version: 28.0
Firmware Version: v1.2-device.cfg

This also does not repro on Buri 1.4
1.4 Environmental Variables:
Device: Buri 1.4 MOZ
BuildID: 20140404000202
Gaia: b4f3b84ec68233a99fd5865c15cfe28aebe26531
Gecko: 3186bbc50050
Version: 30.0a2
Firmware Version: v1.2-device.cfg
I don't think the testing results match my understanding of how the FM Radio works. Right now, the device won't automatically resume the radio after ending the call - it'll take up 5 - 10 seconds to resume.

Can you re-clarify the difference between the 1.3 & 1.3T results here in more detail?
Flags: needinfo?(jmitchell)
1.3 works as you describe; once the phone call is complete the dialer app will close and return you to the previous app at which point the radio audio will return almost instantly. 
1.3T is much more slow on returning to the previous app and once it does so, no matter how much time has passed the radio audio will not return. Even changing radio stations or stopping and resuming play will not result in radio audio. The user must reset the phone and re-enter the FM Radio app.
Flags: needinfo?(jmitchell)
We should check to see if it got killed.  After running the steps, check to see if the radio app is running in the background or not: ie adb shell b2g-ps|grep FM
Keywords: qawanted
Whiteboard: [tarako-exploratory] → [tarako-exploratory], OOM
(In reply to Naoki Hirata :nhirata (please use needinfo instead of cc) from comment #3)
> We should check to see if it got killed.  After running the steps, check to
> see if the radio app is running in the background or not: ie adb shell
> b2g-ps|grep FM

A video would also help here as well.
I believe that this is fixed now.  Can you confirm?

Gaia      718a06816327fcb6a18095f677cfff4b86adc292
Gecko     https://hg.mozilla.org/releases/mozilla-b2g28_v1_3t/rev/9ef12c19ddc9
BuildID   20140416004007
Version   28.1
ro.build.version.incremental=eng.cltbld.20140416.123359
ro.build.date=Wed Apr 16 12:34:05 EDT 2014
Tarako
Flags: needinfo?(jmitchell)
Yes, I can confirm that this issue is fixed on that build.
Flags: needinfo?(jmitchell)
This issue is not reproducible on the newest Tarako Build



1.3t Environmental Variables:
Device: Tarako 1.3t
BuildID: 20140502014001
Gaia: a8e0ff550de08e58e4bf75af3cecf175b9b71e70
Gecko: 71790bf476cb
Version: 28.1
Firmware Version: sp6821
Flags: needinfo?(nhirata.bugzilla)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Flags: needinfo?(nhirata.bugzilla)
You need to log in before you can comment on or make changes to this bug.