[fenix] For https://github.com/mozilla-mobile/fenix/issues/5094: Adds telemetry for show search shortcuts

pull/600/head
Sawyer Blatz 5 years ago committed by Jeff Boek
parent 2bafd3ea24
commit 3cd8b5cf30

@ -111,7 +111,7 @@ events:
preference_key: preference_key:
description: "The preference key for the switch preference the user toggled. We currently track: description: "The preference key for the switch preference the user toggled. We currently track:
show_search_suggestions, remote_debugging, telemetry, tracking_protection, search_bookmarks, show_search_suggestions, remote_debugging, telemetry, tracking_protection, search_bookmarks,
search_browsing_history, and show_clipboard_suggestions" search_browsing_history, show_clipboard_suggestions, and show_search_shortcuts"
enabled: enabled:
description: "Whether or not the preference is *now* enabled" description: "Whether or not the preference is *now* enabled"
bugs: bugs:
@ -120,6 +120,7 @@ events:
data_reviews: data_reviews:
- https://github.com/mozilla-mobile/fenix/pull/1896 - https://github.com/mozilla-mobile/fenix/pull/1896
- https://github.com/mozilla-mobile/fenix/pull/5704 - https://github.com/mozilla-mobile/fenix/pull/5704
- https://github.com/mozilla-mobile/fenix/pull/5886
notification_emails: notification_emails:
- fenix-core@mozilla.com - fenix-core@mozilla.com
expires: "2020-03-01" expires: "2020-03-01"

@ -137,7 +137,8 @@ sealed class Event {
context.getString(R.string.pref_key_tracking_protection), context.getString(R.string.pref_key_tracking_protection),
context.getString(R.string.pref_key_search_bookmarks), context.getString(R.string.pref_key_search_bookmarks),
context.getString(R.string.pref_key_search_browsing_history), context.getString(R.string.pref_key_search_browsing_history),
context.getString(R.string.pref_key_show_clipboard_suggestions) context.getString(R.string.pref_key_show_clipboard_suggestions),
context.getString(R.string.pref_key_show_search_shortcuts)
) )
override val extras: Map<Events.preferenceToggledKeys, String>? override val extras: Map<Events.preferenceToggledKeys, String>?

Loading…
Cancel
Save