@ -52,6 +52,7 @@ import org.mozilla.fenix.home.intent.SpeechProcessingIntentProcessor
import org.mozilla.fenix.home.intent.StartSearchIntentProcessor
import org.mozilla.fenix.library.bookmarks.BookmarkFragmentDirections
import org.mozilla.fenix.library.history.HistoryFragmentDirections
import org.mozilla.fenix.onboarding.FenixOnboarding
import org.mozilla.fenix.perf.HotStartPerformanceMonitor
import org.mozilla.fenix.search.SearchFragmentDirections
import org.mozilla.fenix.settings.about.AboutFragmentDirections
@ -97,6 +98,10 @@ open class HomeActivity : AppCompatActivity() {
setupToolbarAndNavigation ( )
if ( intent . getBooleanExtra ( EXTRA _FINISH _ONBOARDING , false ) ) {
FenixOnboarding ( this ) . finish ( )
}
if ( settings ( ) . isTelemetryEnabled ) {
lifecycle . addObserver ( BreadcrumbsRecorder ( components . analytics . crashReporter ,
navHost . navController , :: getBreadcrumbMessage ) )
@ -355,5 +360,6 @@ open class HomeActivity : AppCompatActivity() {
const val PRIVATE _BROWSING _MODE = " private_browsing_mode "
const val EXTRA _DELETE _PRIVATE _TABS = " notification_delete_and_open "
const val EXTRA _OPENED _FROM _NOTIFICATION = " notification_open "
const val EXTRA _FINISH _ONBOARDING = " finishonboarding "
}
}