question: public void close ( ) { if ( ! isOpen ) return ; Log . d ( TAG , "Trying to close track" ) ; loadingLock . lock ( ) ; try { save ( ) ; if ( saveFileStream != null ) { SavingHelper . close ( saveFileStream ) ; saveFileStream = null ; } savingDisabled = true ; isOpen = false ; Log . i ( TAG , "Track closed" ) ; } finally { loadingLock . unlock ( ) ; } }
target:  Saves and closes the track. The object should not be used afterwards, as saving will be disabled. The save file will never be accessed by this object again, and isOpen will be set to false. This will allow to open the track again.