[Music][NGA] Overlays never appear on b2g-desktop

RESOLVED FIXED in FxOS-S6 (04Sep)

Status

Firefox OS
Gaia::Music
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: justindarc, Assigned: justindarc)

Tracking

unspecified
FxOS-S6 (04Sep)
ARM
Gonk (Firefox OS)

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
Music NGA is not showing the overlays on b2g-desktop. Its possible this is due to a race condition where the DB is triggering events *before* the listeners are attached. Regardless, an additional check should be added to query the DB status at startup to determine if any overlays need to be displayed.

Updated

2 years ago
Blocks: 1196438
I wonder if that's not the same reason as for bug 1198677

Comment 2

2 years ago
Created attachment 8655644 [details] [review]
[gaia] justindarc:bug1200776 > mozilla-b2g:master
(Assignee)

Updated

2 years ago
Assignee: nobody → jdarcangelo
(Assignee)

Comment 3

2 years ago
Comment on attachment 8655644 [details] [review]
[gaia] justindarc:bug1200776 > mozilla-b2g:master

Hub: This should fix the issue. We now explicitly request DB status during startup just in case we missed the window of opportunity for the events.
Attachment #8655644 - Flags: review?(hub)
Comment on attachment 8655644 [details] [review]
[gaia] justindarc:bug1200776 > mozilla-b2g:master

Works great with my activity tests....
Attachment #8655644 - Flags: review?(hub) → review+
Added an important comment to the PR. Before you merge this.
Status: NEW → ASSIGNED
Target Milestone: --- → FxOS-S6 (04Sep)
Merged as part of 
https://github.com/mozilla-b2g/gaia/commit/8c8f9093753f2101c9de9b51f04fead8d2e177c7
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.