Closed
Bug 1116424
Opened 11 years ago
Closed 11 years ago
[FFOS2.0][Woodduck][File manager] Music will stop play it form file manager when MS sleep.
Categories
(Firefox OS Graveyard :: Gaia::Cost Control, defect, P2)
Firefox OS Graveyard
Gaia::Cost Control
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: sync-1, Unassigned, NeedInfo)
References
Details
DEFECT DESCRIPTION:
Music will stop.
REPRODUCING PROCEDURES:
Enter File manager -> Play a music -> Waiting the MS sleep
EXPECTED BEHAVIOUR:
Should be play.
ASSOCIATE SPECIFICATION:
TEST PLAN REFERENCE:
TOOLS AND PLATFORMS USED:
USER IMPACT:
REPRODUCING RATE:100%
Number: 0752-2639306(61306)
For FT PR, Please list reference mobile's behavior:
Dears,
Can you tell my why added this function?
apps/music/js/open.js
// Terminate music playback when visibility is changed.
window.addEventListener('visibilitychange',
function onVisibilityChanged() {
if (document.hidden) {
done();
}
});
Comment 3•11 years ago
|
||
Yes, this is by design.
We don't allow |webActivities| to block playback resource, so we terminate music playback when app is hidden.
Thank.
Flags: needinfo?(gchen)
Comment 4•11 years ago
|
||
Hi Reporter,
The current behavior is by Mozilla design.
You are welcome to customize if you like to change the behavior on your side. Thanks!
Blocks: Woodduck, Woodduck_P2
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(sync-1)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•