Skip to content

Commit

Permalink
Kotlin: Re-enable foreground counter again
Browse files Browse the repository at this point in the history
  • Loading branch information
badboy committed Aug 10, 2022
1 parent ef3cdd6 commit d8492d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

[Full changelog](https://github.com/mozilla/glean/compare/v51.1.0...main)

* Kotlin
* BUGFIX: Re-enable correctly connecting `glean.validation.foreground_count` again ([#2153](https://github.com/mozilla/glean/pull/2153))

# v51.1.0 (2022-08-08)

[Full changelog](https://github.com/mozilla/glean/compare/v51.0.1...v51.1.0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import androidx.lifecycle.ProcessLifecycleOwner
import kotlinx.coroutines.Job
import kotlinx.coroutines.MainScope
import kotlinx.coroutines.launch
import mozilla.telemetry.glean.GleanMetrics.GleanValidation
import mozilla.telemetry.glean.config.Configuration
import mozilla.telemetry.glean.internal.* // ktlint-disable no-wildcard-imports
import mozilla.telemetry.glean.net.BaseUploader
Expand Down Expand Up @@ -329,8 +330,7 @@ open class GleanInternalAPI internal constructor() {
// time the app goes to background.
gleanHandleClientActive()

// TODO: Re-enable when Counter metric is working
// GleanValidation.foregroundCount.add(1)
GleanValidation.foregroundCount.add(1)
}

/**
Expand Down

0 comments on commit d8492d8

Please sign in to comment.