Closed Bug 1199605 Opened 9 years ago Closed 9 years ago

The music play icon does not disappear after we kill a playing music app

Categories

(Firefox OS Graveyard :: Gaia::System::Audio Mgmt, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-master verified)

VERIFIED FIXED
Tracking Status
b2g-master --- verified

People

(Reporter: evanxd, Assigned: evanxd)

References

Details

Attachments

(2 files)

STR. 1. Play music from music app 2. Long press home button 3. Swipe off the music app (Turn off) Expected. 4. No playing icon & the volume control type should be "notification" Actual. 4. Have playing icon & the volume control type is "media"
The attachment in Comment 1 is the WIP patch.
Summary: The sound manager doesn't work correctly if we kill a playing music app → The music play icon does not disappear after we kill a playing music app
Comment on attachment 8655344 [details] [review] [gaia] evanxd:bug-1199605 > mozilla-b2g:master Hi John, Could you review the patch? Thanks.
Attachment #8655344 - Flags: review?(im)
Updated patch for John's comments.
Comment on attachment 8655344 [details] [review] [gaia] evanxd:bug-1199605 > mozilla-b2g:master Thanks. This version looks good to me. But please add at lease one integration test case for this case before merging. According to our offline discussion, we should file a bug for creating more complex integration test cases for the change of audio channel policy. Please also do that before merging.
Attachment #8655344 - Flags: review?(im) → review+
Thanks for the review, John. I'll add tests. The updated patch: https://github.com/evanxd/gaia/commit/accec9b6dc2c0ee6ee100762330e99c9c5d57fc1
We will write the full UI tests in Bug 1201379.
Comment on attachment 8655344 [details] [review] [gaia] evanxd:bug-1199605 > mozilla-b2g:master Hi Jim, Could you review the marionette test part[1] of patch? I added a test in Music app. Thanks. [1]: https://github.com/mozilla-b2g/gaia/pull/31633/files#diff-c6184496bf60ffae2f21ac71bd7a648aR143
Attachment #8655344 - Flags: review?(squibblyflabbetydoo)
(In reply to Evan Tseng [:evanxd][:愛聞插低] from comment #11) > Could you review the marionette test part[1] of patch? > I added a test in Music app. Maybe you should also do the same test in dev_app/music-nga ? Test are roughly identical and music-nga aim to be the replacemeny Music app for 2.5 Thanks.
Flags: needinfo?(evan)
Comment on attachment 8655344 [details] [review] [gaia] evanxd:bug-1199605 > mozilla-b2g:master You'll want to update this to include tests in the NGA Music app too (dev_apps/music-nga), since we'll be making that the standard music app very soon. Once you've done that, ask :hub for review, since he knows the most about these tests.
Attachment #8655344 - Flags: review?(squibblyflabbetydoo) → review-
Comment on attachment 8655344 [details] [review] [gaia] evanxd:bug-1199605 > mozilla-b2g:master Hi Hubert, Could you review the patch? And looks like we change `dev_apps/music-nga` to `dev_apps/music-oga`. Thanks.
Flags: needinfo?(evan)
Attachment #8655344 - Flags: review- → review?(hub)
(In reply to Evan Tseng [:evanxd][:愛聞插低] from comment #14) > And looks like we change `dev_apps/music-nga` to `dev_apps/music-oga`. No we did apps/music -> dev_apps/music-oga and dev_apps/music-nga -> apps/music. No exactly the same. But git should have dealt with the properly.
Comment on attachment 8655344 [details] [review] [gaia] evanxd:bug-1199605 > mozilla-b2g:master tests looks good.
Attachment #8655344 - Flags: review?(hub) → review+
Hubert, thanks for the review.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Attached video FlameKK_v2.5.3gp
This bug has been verified as "pass" on NGA & OGA music app of FlameKK v2.5 latest build by STR in comment 0. Actually result: No playing icon & the volume control type should be "notification" Reproduce rate: 0/5 See attachment: FlameKK_v2.5.3gp Device: Flame KK v2.5(Pass) Build ID 20151007150205 Gaia Revision b99837aa2294348317bcae68acabe71d9a83d774 Gaia Date 2015-10-07 13:04:16 Gecko Revision https://hg.mozilla.org/mozilla-central/rev/1e1fa696e2b626ead6817b7c5bd871fec5d5ab5a Gecko Version 44.0a1 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20151007.183338 Firmware Date Wed Oct 7 18:33:51 EDT 2015 Bootloader L1TC000118D0
Status: RESOLVED → VERIFIED
QA Whiteboard: [MGSEI-Triage+]
Blocks: 1206621
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: