Skip to content

Commit

Permalink
For mozilla-mobile#24715: Remove obsolete addon installed metric.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarare committed Apr 12, 2022
1 parent c617696 commit ffccc69
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ class AddonsManagementFragment : Fragment(R.layout.fragment_add_ons_management)

private fun showInstallationDialog(addon: Addon) {
if (!isInstallationInProgress && !hasExistingAddonInstallationDialogFragment()) {
requireComponents.analytics.metrics.track(Event.AddonInstalled(addon.id))
val context = requireContext()
val addonCollectionProvider = context.components.addonCollectionProvider

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,6 @@ sealed class Event {
}
}

data class AddonInstalled(val addonId: String) : Event()

object AutoPlaySettingVisited : Event()

data class AutoPlaySettingChanged(val setting: AutoplaySetting) : Event() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,6 @@ private val Event.wrapper: EventWrapper<*>?
is Event.InteractWithSearchURLArea -> null
is Event.ClearedPrivateData -> null
is Event.DismissedOnboarding -> null
is Event.AddonInstalled -> null
is Event.SearchWidgetInstalled -> null
}

Expand Down

0 comments on commit ffccc69

Please sign in to comment.