Closed
Bug 1237221
Opened 8 years ago
Closed 8 years ago
[TV] FxOS TV Metrics - The hard-coded marketplace origins need to be adjusted for TV
Categories
(Firefox OS Graveyard :: Gaia::TV::System, defect)
Tracking
(blocking-b2g:2.5+, b2g-v2.5 fixed, b2g-master fixed)
RESOLVED
FIXED
blocking-b2g | 2.5+ |
People
(Reporter: lchang, Assigned: rexboy)
References
Details
(Whiteboard: [ft:conndevices][partner-cherry-pick][partner-blocker])
Attachments
(1 file)
46 bytes,
text/x-github-pull-request
|
lchang
:
review+
jocheng
:
approval-gaia-v2.5+
|
Details | Review |
App Usage Metrics currently uses a hard-coded white list to determine which apps are installed by Marketplace and should be recorded [1]. We have two tasks in this bug. 1. To confirm whether the origin of TV marketplace is the same as phone's. 2. Due to the implementation of the preview mode, apps on TV may be installed by System app sometimes. Therefore, we need to add the origin of System app to the white list as well. [1] https://github.com/luke-chang/gaia/blob/master/tv_apps/smart-system/js/app_usage_metrics.js#L104
Assignee | ||
Comment 1•8 years ago
|
||
The origin of TV would be 'https://marketplace.firefox.com/tv/'. Not sure if the API keep detail path or just domain name. But since it's just an array, seems all we need to do is just to attach origin of system app and may be the tv marketplace above.
Comment 2•8 years ago
|
||
Assignee | ||
Comment 3•8 years ago
|
||
Comment on attachment 8707806 [details] [review] [gaia] rexboy7:1237221 > mozilla-b2g:master As a result, we only need to add system app to the list of install origin. But since the marketplace website of TV is not online yet, we can only test it after it's completed. Basically it should be ok since the domain name will be the same for tv and phone, but I'm not really sure if the path "/tv/" would be included in install origin or not. We can test it after the site goes online.
Attachment #8707806 -
Flags: review?(lchang)
Assignee | ||
Comment 4•8 years ago
|
||
Luke may you review this simple patch?
Reporter | ||
Comment 5•8 years ago
|
||
Comment on attachment 8707806 [details] [review] [gaia] rexboy7:1237221 > mozilla-b2g:master Nice!
Attachment #8707806 -
Flags: review?(lchang) → review+
Reporter | ||
Updated•8 years ago
|
Assignee: nobody → rexboy
Assignee | ||
Comment 6•8 years ago
|
||
master https://github.com/mozilla-b2g/gaia/commit/aa519231ffb8b39224496277a12fd5e3692fcb7f
blocking-b2g: --- → 2.5?
Assignee | ||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•8 years ago
|
||
Comment on attachment 8707806 [details] [review] [gaia] rexboy7:1237221 > mozilla-b2g:master [Approval Request Comment] [Bug caused by] (feature/regressing bug #): feature [User impact] if declined: Can't log app usage installed from tv marketplace [Testing completed]: local done [Risk to taking this patch] (and alternatives if risky): small [String changes made]: none
Attachment #8707806 -
Flags: approval-gaia-v2.5?
Updated•8 years ago
|
blocking-b2g: 2.5? → 2.5+
status-b2g-v2.5:
--- → affected
status-b2g-master:
--- → fixed
Whiteboard: [ft:conndevices][partner-cherry-pick][partner-blocker]
Comment 8•8 years ago
|
||
Comment on attachment 8707806 [details] [review] [gaia] rexboy7:1237221 > mozilla-b2g:master Approve for TV 2.5
Attachment #8707806 -
Flags: approval-gaia-v2.5? → approval-gaia-v2.5+
Comment 9•8 years ago
|
||
for 2.5 https://github.com/mozilla-b2g/gaia/commit/b7fd1e3309f3feecf03919e065a6f1ddf82e36b5
Comment 10•8 years ago
|
||
should be https://github.com/mozilla-b2g/gaia/commit/d0de5693bea9952e89ed54d17d71ba6efad62e8b
You need to log in
before you can comment on or make changes to this bug.
Description
•