Skip to content

Commit

Permalink
remove import
Browse files Browse the repository at this point in the history
  • Loading branch information
kmadsen committed Sep 9, 2022
1 parent 1ecfb3f commit f5a607e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,8 @@ object SharedApp : MapboxNavigationObserver {

override fun onAttached(mapboxNavigation: MapboxNavigation) {
val context = mapboxNavigation.navigationOptions.applicationContext
val audioGuidance: MapboxAudioGuidance = defaultAudioGuidance(context)
MapboxNavigationApp.registerObserver(defaultAudioGuidance(context))
MapboxNavigationApp.lifecycleOwner.attachCreated(*navigationObservers)
MapboxNavigationApp.registerObserver(audioGuidance)
}

override fun onDetached(mapboxNavigation: MapboxNavigation) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package com.mapbox.navigation.dropin

import android.Manifest
import android.app.Activity
import android.app.Application
import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
Expand Down

0 comments on commit f5a607e

Please sign in to comment.