1
0
Fork 0

For #4456: Updates total_uri_count upload (#6482)

master
Sawyer Blatz 2019-11-06 19:10:56 -08:00 committed by liuche
parent 0a05d40ee0
commit 284f3cf0f5
4 changed files with 4 additions and 4 deletions

View File

@ -436,7 +436,7 @@ metrics:
bugs:
- https://github.com/mozilla-mobile/fenix/issue/4456
data_reviews:
- https://github.com/mozilla-mobile/fenix/pull/TODO
- https://github.com/mozilla-mobile/fenix/pull/6003
notification_emails:
- fenix-core@mozilla.com
expires: "2020-03-01"

View File

@ -64,8 +64,6 @@ open class FenixApplication : Application() {
registerRxExceptionHandling()
enableStrictMode()
applicationContext.settings().totalUriCount = 0
if (!isMainProcess()) {
// If this is not the main process then do not continue with the initialization here. Everything that
// follows only needs to be done in our app's main process and should not be done in other processes like

View File

@ -460,6 +460,8 @@ class GleanMetricsService(private val context: Context) : MetricsService {
}
setStartupMetrics()
context.settings().totalUriCount = 0
}
internal fun setStartupMetrics() {

File diff suppressed because one or more lines are too long