[B2G][Leo][FM Radio] FM Radio resumes playing after the call ends

RESOLVED WONTFIX

Status

Firefox OS
Gaia::FMRadio
RESOLVED WONTFIX
5 years ago
5 years ago

People

(Reporter: Jeni, Unassigned)

Tracking

unspecified
ARM
Gonk (Firefox OS)
Bug Flags:
in-moztrap +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
User does not need to press "play" to have Fm Radio to play after user ends a call

Repro Steps:
1) Leo Build ID: 20130610070206
2) Launch FM Radio
3) Play a radio station
4) Receive a call from second phone
5) Answer call and remain on phone for a few seconds
6) Terminate call
7) Listen to what happens next

Actual:
FM Radio begins to play again without having to hit "play"

Expected: 
User has to hit "Play" on the radio to resume listening

Environmental Variables
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/8e3f39363c54
Gaia: ce3b99781d182ad550a325206990c249b0dbcf0e
Platform Version: 18.0

Notes:
Repro frequency: 100% 3/3
Test Suite Name: FM Radio
UCID: 5967
Link to failed test case: https://moztrap.mozilla.org/runtests/run/1475/env/314/?&pagenumber=1&pagesize=20&sortfield=order&sortdirection=asc&filter-id=5967&filter-suite=208
(Reporter)

Comment 1

5 years ago
Created attachment 765598 [details]
Logcat showing issue
Now the FM raido behavior will auto resume after the phone call end.
Is any concern for this?
Flags: needinfo?(jcouassi)
(Reporter)

Comment 3

5 years ago
According to test case it is not suppose to.  Is this a correct function now?
Flags: needinfo?(jcouassi)

Comment 4

5 years ago
Yes, it is the rule on AudioChannel's competing policy.

Rule: The content channel will be stopped when there is a higher channel on playing. And it will be resumed automatically when there is no higher channel on playing anymore.

You can refer to the music app, it is the same behavior with FM app.
Change status to won't fix.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → WONTFIX

Comment 6

5 years ago
This is correct behavior.  Who knows what ever happened to that mysterious user-sound-039 requirement that started all this in the first place.
Flags: in-moztrap?(jcouassi)

Updated

5 years ago
Flags: in-moztrap?(jcouassi) → in-moztrap-

Comment 7

5 years ago
I've updated the testcoverage to account for the correct behavior.
Flags: in-moztrap- → in-moztrap+
(Reporter)

Comment 8

5 years ago
Good to know thank you.(In reply to John Hammink from comment #6)
> This is correct behavior.  Who knows what ever happened to that mysterious
> user-sound-039 requirement that started all this in the first place.
 
Good to know thank you

Updated

5 years ago
Whiteboard: leorun3
You need to log in before you can comment on or make changes to this bug.