mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-15 18:12:54 +00:00
Bug 1836167 - Fix Bookmark Open telemetry
This commit is contained in:
parent
d326c5baff
commit
56309b2673
@ -139,6 +139,10 @@ class BookmarkFragmentInteractor(
|
|||||||
BookmarkNodeType.ITEM -> {
|
BookmarkNodeType.ITEM -> {
|
||||||
bookmarksController.handleBookmarkTapped(item)
|
bookmarksController.handleBookmarkTapped(item)
|
||||||
BookmarksManagement.open.record(NoExtras())
|
BookmarksManagement.open.record(NoExtras())
|
||||||
|
MetricsUtils.recordBookmarkMetrics(
|
||||||
|
MetricsUtils.BookmarkAction.OPEN,
|
||||||
|
METRIC_SOURCE,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
BookmarkNodeType.FOLDER -> bookmarksController.handleBookmarkExpand(item)
|
BookmarkNodeType.FOLDER -> bookmarksController.handleBookmarkExpand(item)
|
||||||
BookmarkNodeType.SEPARATOR -> throw IllegalStateException("Cannot open separators")
|
BookmarkNodeType.SEPARATOR -> throw IllegalStateException("Cannot open separators")
|
||||||
|
Loading…
Reference in New Issue
Block a user