15
edits
(→Verify the results: Add screenshot) |
(update app usage) |
||
| Line 47: | Line 47: | ||
#; Debug Log | #; Debug Log | ||
#: Before [https://github.com/mozilla-b2g/gaia/pull/28500 this pull request] landed on 2.2, you need to <code>git apply</code> [https://github.com/mozilla-b2g/gaia/pull/28500.patch this patch] to see the correct adb log. | #: Before [https://github.com/mozilla-b2g/gaia/pull/28500 this pull request] landed on 2.2, you need to <code>git apply</code> [https://github.com/mozilla-b2g/gaia/pull/28500.patch this patch] to see the correct adb log. | ||
# (option) If you want to test App Usage on foxfooding devices, then you have to modify these setting additionally. | |||
#; Makefile | |||
#: - DOGFOOD?=0 | |||
#: + DOGFOOD?=1 | |||
#; apps/system/js/app_usage_metrics.js | |||
#: - AUM.REPORT_INTERVAL = result['metrics.appusage.reportInterval']; | |||
#: + AUM.REPORT_INTERVAL = 60 * 1000; | |||
# Flash the gaia and start adb log right away <code>MOZILLA_OFFICAL=1 make production; adb logcat |grep -i -E 'ftuping|appusage' </code> | # Flash the gaia and start adb log right away <code>MOZILLA_OFFICAL=1 make production; adb logcat |grep -i -E 'ftuping|appusage' </code> | ||
edits