This commit is contained in:
Dennis Guse
2020-02-05 19:30:08 +01:00
parent eabdb7c721
commit d3109bbc37
5 changed files with 55 additions and 48 deletions
@@ -232,7 +232,9 @@ public enum TrackFileFormat {
/**
* Returns whether the format supports photos.
*/
public boolean includesPhotos() { return false; };
public boolean includesPhotos() {
return false;
}
/**
* Returns the name of for each format.
@@ -50,10 +50,10 @@ public class ExportAsyncTask extends AsyncTask<Void, Integer, Boolean> {
private ExportActivity exportActivity;
private WakeLock wakeLock;
private boolean completed;
private boolean completed = false;
private int processedTrackCount;
private int totalTrackCount;
private int processedTrackCount = 0;
private int totalTrackCount = 0;
/**
* Creates an AsyncTask.
@@ -68,10 +68,6 @@ public class ExportAsyncTask extends AsyncTask<Void, Integer, Boolean> {
this.directory = directory;
context = exportActivity.getApplicationContext();
contentProviderUtils = new ContentProviderUtils(context);
completed = false;
processedTrackCount = 0;
totalTrackCount = 0;
}
/**