1
0
Fork 0

For #5094: Adds telemetry for show search shortcuts

master
Sawyer Blatz 2019-10-09 09:38:35 -07:00 committed by Jeff Boek
parent b0d796ccee
commit 980b11610b
2 changed files with 4 additions and 2 deletions

View File

@ -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"

View File

@ -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>?