@ Override public int onStartCommand ( Intent intent , int flags , int startId ) { NavigationTelemetry . getInstance ( ) . initializeLifecycleMonitor ( getApplication ( ) ) ; return START_STICKY ; }
Only should be called once since we want the service to continue running until the navigation session ends .