File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
libnavui-app/src/main/java/com/mapbox/navigation/ui/app/internal
libnavui-dropin/src/main/java/com/mapbox/navigation/dropin Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -80,9 +80,8 @@ object SharedApp : MapboxNavigationObserver {
8080
8181 override fun onAttached (mapboxNavigation : MapboxNavigation ) {
8282 val context = mapboxNavigation.navigationOptions.applicationContext
83- val audioGuidance : MapboxAudioGuidance = defaultAudioGuidance(context)
83+ MapboxNavigationApp .registerObserver( defaultAudioGuidance(context) )
8484 MapboxNavigationApp .lifecycleOwner.attachCreated(* navigationObservers)
85- MapboxNavigationApp .registerObserver(audioGuidance)
8685 }
8786
8887 override fun onDetached (mapboxNavigation : MapboxNavigation ) {
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package com.mapbox.navigation.dropin
22
33import android.Manifest
44import android.app.Activity
5- import android.app.Application
65import android.content.Context
76import android.util.AttributeSet
87import android.view.LayoutInflater
You can’t perform that action at this time.
0 commit comments