Closed Bug 920682 Opened 11 years ago Closed 9 years ago

[music] Use a smarter method to notify IAC subscribers when the music app closes

Categories

(Firefox OS Graveyard :: Gaia::Music, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1215674

People

(Reporter: squib, Unassigned)

References

Details

Attachments

(1 file)

Over in bug 915880, Gene and I discussed some alternatives to the current method I use to hide the "now playing" notification in the system app. It turns out we can just post a message in the "unload" event listener in the music app, and all is well. Therefore, let's do that and remove an ugly workaround!
Attachment #810061 - Flags: review?(dkuo)
Comment on attachment 810061 [details] [review] https://github.com/mozilla-b2g/gaia/pull/12452 Cancelling review for now since this doesn't work right when the OOM killer kills the music app. I'm going to write some tests and see if I can improve things here.
Attachment #810061 - Flags: review?(dkuo)
I'm going to leave this bug open to track the changes we should make if/when bug 915880 is fixed. Hopefully we'll come up with an acceptable solution over there, since not being able to know when an IAC connection is terminated is extremely inconvenient.
Depends on: 915880
Attachment mime type: text/plain → text/x-github-pull-request
Assignee: squibblyflabbetydoo → nobody
Status: ASSIGNED → NEW
Closing this, since we'll be moving to the Media Controller API someday (hopefully soon).
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
See Also: → 1215674
Actually, I think I was right to close this, since the change wouldn't happen in the Music app, and we have other bugs to track the changes elsewhere.
Status: REOPENED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: