Closed Bug 1220306 Opened 10 years ago Closed 8 years ago

App sound will play while screen is off when phone is locked while app is loading

Categories

(Firefox OS Graveyard :: AudioChannel, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(tracking-b2g:backlog, b2g-v2.2 affected, b2g-master affected)

RESOLVED WONTFIX
tracking-b2g backlog
Tracking Status
b2g-v2.2 --- affected
b2g-master --- affected

People

(Reporter: AdamA, Unassigned)

References

()

Details

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

Attachments

(1 file)

Attached file logcat
Description: If the user locks the screen while an app with sound is loading the sound will start playing while the screen is off and on the lockscreen. when the user lets the sound start before locking the sound will not play. Repro Steps: 1) Update a Aries to 20151030120435 2) Open Swoop 3) Lock the phone as swoop is loading 4) Wait 5) Observe sound Actual: App sound will play while the screen is off Expected: It is expected that the app sound does not play on lockscreen/when screen is off. Environmental Variables: Device: Aries 2.5 [Full Flash] Build ID: 20151030120435 Gaia: 91cac94948094cfdcd00cba5c6483e27e80cb3b0 Gecko: c2534acb485963331d67bbc5c07f0d862ed56bf5 Gonk: a19052e4389c3ae2d8fc3e7a74a475401baacc56 Version: 45.0a1 (2.5) 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: 10/10 See attached: video clip(https://youtu.be/24P0QSFCt0o), logcat
This issue DOES occur on Flame 2.5 and Flame 2.2. Environmental Variables: Device: Flame 2.5 [Full Flash] BuildID: 20151030030240 Gaia: 91cac94948094cfdcd00cba5c6483e27e80cb3b0 Gecko: b41b92c09fcf94d077a54297aea1dc675b161a9d Gonk: 205ac4204bbbb2098a8046444acba551ba5dc75a Version: 45.0a1 (2.5) Firmware Version: v18D User Agent: Mozilla/5.0 (Mobile; rv:45.0) Gecko/45.0 Firefox/45.0 Device: Flame 2.2 [Full Flash] BuildID: 20151030032534 Gaia: 885647d92208fb67574ced44004ab2f29d23cb45 Gecko: b8b7f4efaa6e 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 Result: App sound will play while the screen is off
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
This is not ideal but not a regression. Alison, can you take a look at this please?
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Component: Gaia::System::Lockscreen → Gaia::System::Window Mgmt
Flags: needinfo?(ktucker) → needinfo?(ashiue)
I tried and found that the sound will stop when screen off, sound will play when screen on (even screen lock). I check with iOS and android, and both of them will stop sound when screen off and screen lock. Hi Gregor, I am not sure who is the suitable person to check this issue, could you please help to dispatch this bug? Thank you.
Flags: needinfo?(ashiue) → needinfo?(anygregor)
(In reply to Alison Shiue from comment #3) > I tried and found that the sound will stop when screen off, sound will play > when screen on (even screen lock). > I check with iOS and android, and both of them will stop sound when screen > off and screen lock. > > Hi Gregor, > > I am not sure who is the suitable person to check this issue, could you > please help to dispatch this bug? Thank you. I guess the question is which app is allowed to play music even if the screen is off. You want the music app to play music in this scenario for example. Blake, any idea how to solve this issue? Do we have anything in the audio api that helps here?
Flags: needinfo?(anygregor) → needinfo?(bwu)
(In reply to Gregor Wagner [:gwagner] from comment #4) > (In reply to Alison Shiue from comment #3) > > I tried and found that the sound will stop when screen off, sound will play > > when screen on (even screen lock). > > I check with iOS and android, and both of them will stop sound when screen > > off and screen lock. > > > > Hi Gregor, > > > > I am not sure who is the suitable person to check this issue, could you > > please help to dispatch this bug? Thank you. > > I guess the question is which app is allowed to play music even if the > screen is off. You want the music app to play music in this scenario for > example. Blake, any idea how to solve this issue? Do we have anything in the > audio api that helps here? It looks it's related to audio channel. alastor, Could you help have a look?
Component: Gaia::System::Window Mgmt → AudioChannel
Flags: needinfo?(bwu) → needinfo?(alwu)
Keep NI, I'll check it later.
[Tracking Requested - why for this release]: Not a blocker.
Flags: needinfo?(alwu)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: