question: private void updateRecordingTrack ( Track track , long lastTrackPointId , boolean increaseNumberOfPoints ) { if ( lastTrackPointId >= 0 ) { if ( track . getStartId ( ) < 0 ) { track . setStartId ( lastTrackPointId ) ; } track . setStopId ( lastTrackPointId ) ; } if ( increaseNumberOfPoints ) { track . setNumberOfPoints ( track . getNumberOfPoints ( ) + 1 ) ; } trackTripStatisticsUpdater . updateTime ( System . currentTimeMillis ( ) ) ; track . setTripStatistics ( trackTripStatisticsUpdater . getTripStatistics ( ) ) ; myTracksProviderUtils . updateTrack ( track ) ; }
target:  Updates the recording track time. Also updates the startId and the stopId. Increase the number of points if it is a new and valid track point.