forked from upstream-mirrors/OpenTracks
Cleanup using AndroidStudio's analyze feature.
This commit is contained in:
@@ -78,7 +78,7 @@ public class ExportActivity extends FragmentActivity implements ExportServiceRes
|
|||||||
private enum ConflictResolutionStrategy {
|
private enum ConflictResolutionStrategy {
|
||||||
CONFLICT_NONE,
|
CONFLICT_NONE,
|
||||||
CONFLICT_OVERWRITE,
|
CONFLICT_OVERWRITE,
|
||||||
CONFLICT_SKIP;
|
CONFLICT_SKIP
|
||||||
}
|
}
|
||||||
|
|
||||||
private TrackFileFormat trackFileFormat;
|
private TrackFileFormat trackFileFormat;
|
||||||
|
|||||||
@@ -12,12 +12,6 @@ import androidx.annotation.NonNull;
|
|||||||
import androidx.core.app.JobIntentService;
|
import androidx.core.app.JobIntentService;
|
||||||
import androidx.documentfile.provider.DocumentFile;
|
import androidx.documentfile.provider.DocumentFile;
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.stream.Collectors;
|
|
||||||
|
|
||||||
import de.dennisguse.opentracks.data.ContentProviderUtils;
|
|
||||||
import de.dennisguse.opentracks.data.models.Track;
|
|
||||||
import de.dennisguse.opentracks.io.file.TrackFileFormat;
|
|
||||||
import de.dennisguse.opentracks.util.ExportUtils;
|
import de.dennisguse.opentracks.util.ExportUtils;
|
||||||
|
|
||||||
public class ExportService extends JobIntentService {
|
public class ExportService extends JobIntentService {
|
||||||
|
|||||||
-2
@@ -6,8 +6,6 @@ import android.os.ResultReceiver;
|
|||||||
|
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
|
|
||||||
import de.dennisguse.opentracks.data.models.Track;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new ResultReceive to receive results.
|
* Create a new ResultReceive to receive results.
|
||||||
* Your {@link #onReceiveResult} method will be called from the thread running <var>handler</var> if given, or from an arbitrary thread if null.
|
* Your {@link #onReceiveResult} method will be called from the thread running <var>handler</var> if given, or from an arbitrary thread if null.
|
||||||
|
|||||||
+1
-1
@@ -133,7 +133,7 @@ public class SettingsCustomLayoutEditAdapter extends RecyclerView.Adapter<Recycl
|
|||||||
|
|
||||||
private class ViewHolder extends RecyclerView.ViewHolder implements View.OnClickListener {
|
private class ViewHolder extends RecyclerView.ViewHolder implements View.OnClickListener {
|
||||||
|
|
||||||
CustomStatsItemBinding viewBinding;
|
final CustomStatsItemBinding viewBinding;
|
||||||
|
|
||||||
public ViewHolder(@NonNull CustomStatsItemBinding viewBinding) {
|
public ViewHolder(@NonNull CustomStatsItemBinding viewBinding) {
|
||||||
super(viewBinding.getRoot());
|
super(viewBinding.getRoot());
|
||||||
|
|||||||
Reference in New Issue
Block a user