Closed
Bug 1204759
Opened 9 years ago
Closed 9 years ago
Back port app usage metrics to TV System
Categories
(Firefox OS Graveyard :: Gaia::TV, defect, P1)
Tracking
(feature-b2g:2.5+)
People
(Reporter: jj.evelyn, Assigned: lchang)
References
Details
(Whiteboard: [ft:conndevices][partner-blocker][partner-cherry-picked<2015/11/10>])
Attachments
(1 file)
Since v2.2 we have app usage metric in phone build, we should also enable this on TV.
Updated•9 years ago
|
feature-b2g: --- → 2.5+
Whiteboard: [ft:conndevices] → [ft:conndevices][partner-blocker]
Comment 1•9 years ago
|
||
Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8665254 [details] [review] [gaia] luke-chang:tv_app_usage_metrics > mozilla-b2g:master Hi Rex, Would you mind taking a look at this patch? Thanks.
Attachment #8665254 -
Flags: review?(rexboy)
Assignee | ||
Comment 3•9 years ago
|
||
In this patch, I copied the "app_usage_metrics.js" from phone system app and only removed "SIMSlotManager" related code [1] & [2] since there's no SIM card on TV. Also, I keep some unnecessary events such as "lockscreen-appopened", "lockscreen-appclosed", "applicationenabled" and "applicationdisabled" as-is because I prefer minimal changes and they won't break this function at all. [1] https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/app_usage_metrics.js#L682 [2] https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/app_usage_metrics.js#L691-L740
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•9 years ago
|
||
I've updated my patch for preventing "getUniqueIdentifier" from trying to get the IMEI via mozTelephony API [1]. [1] https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/app_usage_metrics.js#L346-L355
Comment 5•9 years ago
|
||
Comment on attachment 8665254 [details] [review] [gaia] luke-chang:tv_app_usage_metrics > mozilla-b2g:master Looks good to me!
Attachment #8665254 -
Flags: review?(rexboy) → review+
Updated•9 years ago
|
Priority: -- → P1
Target Milestone: --- → FxOS-S8 (02Oct)
Assignee | ||
Comment 7•9 years ago
|
||
Hi Josh, The previous tests are failed on GijTV. I've restarted the tests and will land it as soon as it passes all the tests.
Flags: needinfo?(lchang)
Assignee | ||
Comment 8•9 years ago
|
||
tests passed: https://treeherder.mozilla.org/#/jobs?repo=gaia&revision=18678dd4a7049afeec7c32e16c2ce2a522014324 landed on master: https://github.com/mozilla-b2g/gaia/commit/26af53f22936eb0fa4f778ab014670d36106be2f
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•9 years ago
|
Whiteboard: [ft:conndevices][partner-blocker] → [ft:conndevices][partner-blocker][partner-cherry-pick]
Updated•9 years ago
|
Whiteboard: [ft:conndevices][partner-blocker][partner-cherry-pick] → [ft:conndevices][partner-blocker][partner-cherry-picked<2015/11/10>]
You need to log in
before you can comment on or make changes to this bug.
Description
•