Code cleanup: remove unused interface

This commit is contained in:
Jimmy Shih
2013-09-03 13:39:41 -07:00
parent 71f03996f5
commit aff5654bde
3 changed files with 0 additions and 19 deletions
@@ -19,7 +19,6 @@ package com.google.android.apps.mytracks.io.file;
import com.google.android.apps.mytracks.content.MyTracksProviderUtils;
import com.google.android.apps.mytracks.content.Track;
import com.google.android.apps.mytracks.content.TracksColumns;
import com.google.android.apps.mytracks.io.file.TrackExporter.TrackExporterListener;
import com.google.android.apps.mytracks.util.FileUtils;
import com.google.android.apps.mytracks.util.PreferencesUtils;
import com.google.android.apps.mytracks.util.SystemUtils;
@@ -25,23 +25,6 @@ import java.io.OutputStream;
*/
public interface TrackExporter {
/**
* Listener for {@link TrackExporter} progress.
*
* @author Jimmy Shih
*/
interface TrackExporterListener {
/**
* Called to update progress.
*
* @param number the number of locations written
* @param max the maximum number of locations in a track, for calculation of
* completion percentage
*/
void onProgressUpdate(int number, int max);
}
/**
* Write track to an output stream
*
@@ -7,7 +7,6 @@ import com.google.android.apps.mytracks.content.MyTracksProviderUtils;
import com.google.android.apps.mytracks.content.MyTracksProviderUtils.Factory;
import com.google.android.apps.mytracks.content.Track;
import com.google.android.apps.mytracks.content.Waypoint;
import com.google.android.apps.mytracks.io.file.TrackExporter.TrackExporterListener;
import com.google.android.apps.mytracks.services.TrackRecordingServiceTest.MockContext;
import com.google.android.apps.mytracks.testing.TestingProviderUtilsFactory;