TrackRecordingService doesn't change the track's name when recording ends. Fixes #209.

This commit is contained in:
Román
2020-05-02 17:25:46 +02:00
committed by Dennis Guse
parent 2815aa4b62
commit f75a48ccab
@@ -461,12 +461,6 @@ public class TrackRecordingService extends Service {
// Update the recording track time
updateTrackTotalTime(track);
}
String trackName = TrackNameUtils.getTrackName(this, trackId, track.getTrackStatistics().getStartTime_ms());
if (trackName != null && !trackName.equals(track.getName())) {
track.setName(trackName);
contentProviderUtils.updateTrack(track);
}
}
endRecording(true);
}