From 56309b26731693f8010fdaa595c6f6eca4db2bdb Mon Sep 17 00:00:00 2001 From: Harrison Oglesby Date: Thu, 21 Dec 2023 15:09:12 -0800 Subject: [PATCH] Bug 1836167 - Fix Bookmark Open telemetry --- .../fenix/library/bookmarks/BookmarkFragmentInteractor.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/java/org/mozilla/fenix/library/bookmarks/BookmarkFragmentInteractor.kt b/app/src/main/java/org/mozilla/fenix/library/bookmarks/BookmarkFragmentInteractor.kt index 4cf844495d..924695f6ed 100644 --- a/app/src/main/java/org/mozilla/fenix/library/bookmarks/BookmarkFragmentInteractor.kt +++ b/app/src/main/java/org/mozilla/fenix/library/bookmarks/BookmarkFragmentInteractor.kt @@ -139,6 +139,10 @@ class BookmarkFragmentInteractor( BookmarkNodeType.ITEM -> { bookmarksController.handleBookmarkTapped(item) BookmarksManagement.open.record(NoExtras()) + MetricsUtils.recordBookmarkMetrics( + MetricsUtils.BookmarkAction.OPEN, + METRIC_SOURCE, + ) } BookmarkNodeType.FOLDER -> bookmarksController.handleBookmarkExpand(item) BookmarkNodeType.SEPARATOR -> throw IllegalStateException("Cannot open separators")