Closed
Bug 1156183
Opened 9 years ago
Closed 9 years ago
[Stingray][TvDeck] Move TVManager related API to ChannelManager
Categories
(Firefox OS Graveyard :: Gaia::TV, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: suchiu, Assigned: suchiu)
References
Details
Attachments
(1 file)
It would be better to move (tuner, source, channel) related functions or properties to ChannelManager and leave TVDeck for UI manipulations.
Comment 1•9 years ago
|
||
Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8597873 [details] [review] [gaia] sean2449:Bug_1156183-move-channel > mozilla-b2g:master 1. Move TVManager related API to ChannelManager. 2. Rewrite test case for TVDeck. 3. Add flag isScanning in channelManager since setCurrentSource and setCurrentChannel can not be called when a tuner is scanning. setHash should not be called either.
Attachment #8597873 -
Flags: review?(im)
Comment 3•9 years ago
|
||
Comment on attachment 8597873 [details] [review] [gaia] sean2449:Bug_1156183-move-channel > mozilla-b2g:master Looks good but it has some spaces to improve.
Attachment #8597873 -
Flags: review?(im)
Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8597873 [details] [review] [gaia] sean2449:Bug_1156183-move-channel > mozilla-b2g:master John, thanks for the suggestions in PR, I have made following changes: 1. Change (playingTunerId, playingSourceType, playingChannelNumber) to playingState with (tunerId, sourceType, channelNumber) properties. 2. Refocus to panel element when buttongroup is hidden. 3. Change playingTuner, playingSource and playingChannel properties to getTuner, getSource and getChannel functions.
Attachment #8597873 -
Flags: review?(im)
Assignee | ||
Comment 5•9 years ago
|
||
4. Move UI related pin or unpin card functions from channel manager to tv-deck. 5. Move CardManager related functions to pin_card.js
Comment 6•9 years ago
|
||
Comment on attachment 8597873 [details] [review] [gaia] sean2449:Bug_1156183-move-channel > mozilla-b2g:master Looks good to me. Please file another bug to add unit tests for your newly created modules.
Attachment #8597873 -
Flags: review?(im) → review+
Assignee | ||
Updated•9 years ago
|
Component: Gaia → Gaia::TV
Keywords: checkin-needed
Updated•9 years ago
|
Keywords: checkin-needed
Comment 7•9 years ago
|
||
Pull request has landed in master: https://github.com/mozilla-b2g/gaia/commit/a47c511cc970466cb4c939a1d4a051d3bc6dfb26
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•