Closed Bug 1289356 Opened 8 years ago Closed 8 years ago

Media actions are inconsistent after pressing Home

Categories

(Firefox for Android Graveyard :: Audio/Video, defect, P2)

50 Branch
ARM
Android
defect

Tracking

(firefox50 verified)

VERIFIED FIXED
Firefox 50
Tracking Status
firefox50 --- verified

People

(Reporter: cynthiatang, Assigned: alwu)

References

Details

Attachments

(1 file)

Test case1:
1. Launch Firefox app
2. Go to www.youtube.com and play video 1
3. Launch Chrome app and play video 2
4. Press Home 

Actual:
- The video 1 will be played in Firefox

Test case2:
1. Launch Firefox app
2. Go to www.youtube.com and play video 1
3. Launch Youtube app and play video 3
4. Press Home 

Actual:
- No video will be played

Device: Nexus 5
Android: 6.0.1
Firefox: 49.0a2 (2016-07-25)
Comparing this with other apps (Google Music, Amazon Music, TuneIn) none of the other apps automatically resumes playback in test case 1.
Priority: -- → P2
Component: General → Audio/Video
Assignee: nobody → alwu
Blocks: 1288971
Comment on attachment 8775844 [details]
Bug 1289356 - only resume music when we're in the state 'AUDIOFOCUS_LOSS_TRANSIENT'.

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/67892/diff/1-2/
Attachment #8775844 - Flags: review?(s.kaspari)
Comment on attachment 8775844 [details]
Bug 1289356 - only resume music when we're in the state 'AUDIOFOCUS_LOSS_TRANSIENT'.

https://reviewboard.mozilla.org/r/67892/#review65070
Attachment #8775844 - Flags: review?(s.kaspari) → review+
It's the fastest review response I have ever seen :D
Thanks!

--

https://treeherder.mozilla.org/#/jobs?repo=try&revision=592ce77fc549
Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2f171516dfc2
only resume music when we're in the state 'AUDIOFOCUS_LOSS_TRANSIENT'. r=sebastian
https://hg.mozilla.org/mozilla-central/rev/2f171516dfc2
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 50
Blocks: 1290836
Comment on attachment 8775844 [details]
Bug 1289356 - only resume music when we're in the state 'AUDIOFOCUS_LOSS_TRANSIENT'.

Approval Request Comment
[Feature/regressing bug #]: The audio wouldn't be resumed at the wrong moment
[User impact if declined]: The audio would be resumed unexpectedly
[Describe test coverage new/current, TreeHerder]: No UI test 
[Risks and why]: Low, it only affects the resuming behavior.
[String/UUID change made/needed]: No
Attachment #8775844 - Flags: approval-mozilla-beta?
Attachment #8775844 - Flags: approval-mozilla-beta?
Verified as fixed in build 51.0a1 2016-08-08;
Device: Nexus 5 (Android 6.0.1).
Verified as fixed using the test cases from description on Aurora 50.0a2(2016-09-01) with Galaxy Note 5(6.0.1).
Status: RESOLVED → VERIFIED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: