Service
This commit is contained in:
@@ -532,7 +532,6 @@ class NavigationSession : CarSession(), NavigationListener, NavigationObserverCa
|
||||
* Handles route snapping, deviation detection for rerouting, and map updates.
|
||||
*/
|
||||
fun updateLocation(location: Location) {
|
||||
Log.d(TAG, "update location $location")
|
||||
val streetName = if (routeModel.isNavigating()) {
|
||||
routeModel.currentStep().street
|
||||
} else {
|
||||
|
||||
@@ -100,7 +100,6 @@ open class NavigationScreen(
|
||||
}
|
||||
|
||||
repository.tripSuggestionFlow.asLiveData().observe(this, Observer {
|
||||
Log.d(TAG, "tripSuggestion $it")
|
||||
navigationViewModel.recentPlaces.observe(this, observerRecentPlaces)
|
||||
tripSuggestion = it
|
||||
})
|
||||
@@ -119,6 +118,7 @@ open class NavigationScreen(
|
||||
* Returns the appropriate template based on the current navigation state.
|
||||
*/
|
||||
override fun onGetTemplate(): Template {
|
||||
Log.d(TAG, "NavigationScreen $navigationType")
|
||||
val actionStripBuilder = createActionStripBuilder({
|
||||
createAction(
|
||||
carContext,
|
||||
|
||||
Reference in New Issue
Block a user