Fixed issues introduced in 353c958ae0 and 2a60aa8f59.

This commit is contained in:
Dennis Guse
2019-11-06 07:42:15 +01:00
parent a453c8ec1e
commit d3f5080e73
4 changed files with 4 additions and 4 deletions
@@ -101,7 +101,7 @@ public class KmzTrackImporter implements TrackImporter {
* @param trackId the trackId
*/
private void cleanImport(long trackId) {
if (!PreferencesUtils.isRecording(trackId)) {
if (PreferencesUtils.isRecording(trackId)) {
ContentProviderUtils contentProviderUtils = ContentProviderUtils.Factory.get(context);
contentProviderUtils.deleteTrack(context, trackId);
}