forked from upstream-mirrors/OpenTracks
522882c0cc
endCurrentTrack so they still are thrown when called from the ServiceBinder methods.