Closed
Bug 1156185
Opened 10 years ago
Closed 10 years ago
[Stingray][TvDeck] Add onscanningstatechanged event by using addEventListener
Categories
(Firefox OS Graveyard :: Gaia::TV, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: suchiu, Assigned: suchiu)
References
Details
Attachments
(1 file)
In TVDeck, callback function for TVSource onscanningstatechanged event is directly assigned. It would be better to use addEventListenr to add callback functions. Need to find a way to not add duplicate callback functions for every TVSource.
Comment 1•10 years ago
|
||
| Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8595237 [details] [review]
[gaia] sean2449:Bug_1156185-eventListener > mozilla-b2g:master
1. onscanningstatechanged event is added by using addEventListener.
2. ontunerchanged event is removed since our Gecko has remove this API.
Attachment #8595237 -
Flags: review?(im)
Comment 3•10 years ago
|
||
Comment on attachment 8595237 [details] [review]
[gaia] sean2449:Bug_1156185-eventListener > mozilla-b2g:master
I found an issue with this patch. Please find my comments at PR.
Attachment #8595237 -
Flags: review?(im)
| Assignee | ||
Updated•10 years ago
|
Component: Gaia → Gaia::TV
| Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8595237 [details] [review]
[gaia] sean2449:Bug_1156185-eventListener > mozilla-b2g:master
John, I have applied the change. ontunerchanged event is removed from Gecko.
Attachment #8595237 -
Flags: review?(im)
Comment 5•10 years ago
|
||
Comment on attachment 8595237 [details] [review]
[gaia] sean2449:Bug_1156185-eventListener > mozilla-b2g:master
looks good to me.
Attachment #8595237 -
Flags: review?(im) → review+
| Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Updated•10 years ago
|
Keywords: checkin-needed
Comment 6•10 years ago
|
||
Pull request has landed in master: https://github.com/mozilla-b2g/gaia/commit/8a7c80d8a8bbe0375f381921afadf7ab517ea75e
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•