forked from upstream-mirrors/OpenTracks
Removed 'My Tracks' from documentation and code.
This commit is contained in:
@@ -27,8 +27,7 @@ import androidx.fragment.app.FragmentActivity;
|
||||
import com.google.android.apps.mytracks.util.TrackIconUtils;
|
||||
|
||||
/**
|
||||
* An abstract class for all My Tracks activities.
|
||||
*
|
||||
*
|
||||
* @author Jimmy Shih
|
||||
*/
|
||||
public abstract class AbstractActivity extends FragmentActivity {
|
||||
|
||||
@@ -28,14 +28,14 @@ import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Utilities to access data from the My Tracks content provider.
|
||||
* Utilities to access data from the app's content provider.
|
||||
*
|
||||
* @author Rodrigo Damazio
|
||||
*/
|
||||
public interface ContentProviderUtils {
|
||||
|
||||
/**
|
||||
* The authority (the first part of the URI) for the My Tracks content
|
||||
* The authority (the first part of the URI) for the app's content
|
||||
* provider.
|
||||
*/
|
||||
String AUTHORITY = "com.google.android.maps.mytracks";
|
||||
|
||||
@@ -27,8 +27,6 @@ import com.google.android.maps.mytracks.R;
|
||||
import java.util.Vector;
|
||||
|
||||
/**
|
||||
* An implementation of {@link DescriptionGenerator} for My Tracks.
|
||||
*
|
||||
* @author Jimmy Shih
|
||||
*/
|
||||
public class DescriptionGeneratorImpl implements DescriptionGenerator {
|
||||
|
||||
@@ -94,7 +94,7 @@ public class TrackDataHub implements DataSourceListener {
|
||||
*
|
||||
* @param context the context
|
||||
* @param trackDataManager the track data manager
|
||||
* @param contentProviderUtils the my tracks provider utils
|
||||
* @param contentProviderUtils the content tracks provider utils
|
||||
* @param targetNumPoints the target number of points
|
||||
*/
|
||||
@VisibleForTesting
|
||||
|
||||
+1
-2
@@ -25,8 +25,7 @@ import androidx.annotation.NonNull;
|
||||
import androidx.fragment.app.DialogFragment;
|
||||
|
||||
/**
|
||||
* Abstract My Tracks DialogFragment.
|
||||
*
|
||||
|
||||
* @author Jimmy Shih
|
||||
*/
|
||||
public abstract class AbstractDialogFragment extends DialogFragment {
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ public class FileTrackExporter implements TrackExporter {
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param contentProviderUtils the my tracks provider utils
|
||||
* @param contentProviderUtils the content provider utils
|
||||
* @param tracks the tracks
|
||||
* @param trackWriter the track writer
|
||||
* @param trackExporterListener the track export listener
|
||||
|
||||
+1
-1
@@ -58,7 +58,7 @@ public class KmzTrackExporter implements TrackExporter {
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param contentProviderUtils the my tracks provider utils
|
||||
* @param contentProviderUtils the content provider utils
|
||||
* @param fileTrackExporter the file track exporter
|
||||
* @param tracks the tracks to export
|
||||
* @param context the context
|
||||
|
||||
@@ -32,7 +32,7 @@ public class FileUtils {
|
||||
private FileUtils() {}
|
||||
|
||||
/**
|
||||
* The My Tracks external storage directory.
|
||||
* Our external storage directory.
|
||||
*/
|
||||
static final String SDCARD_TOP_DIR = "MyTracks";
|
||||
|
||||
@@ -43,12 +43,12 @@ public class FileUtils {
|
||||
static final int MAX_FAT32_PATH_LENGTH = 260;
|
||||
|
||||
/**
|
||||
* The play tracks directory under the My Tracks cache directory.
|
||||
* The play tracks directory in the app's cache directory.
|
||||
*/
|
||||
public static final String PLAY_TRACKS_DIR = "temp";
|
||||
|
||||
/**
|
||||
* The pictures directory under the My Tracks external storage directory.
|
||||
* The pictures directory under the app's external storage directory.
|
||||
*/
|
||||
private static final String PICTURES_DIR = "pictures";
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ public class SystemUtils {
|
||||
private SystemUtils() {}
|
||||
|
||||
/**
|
||||
* Get the My Tracks version from the manifest.
|
||||
* Get the app version from the manifest.
|
||||
*
|
||||
* @return the version, or an empty string in case of failure.
|
||||
*/
|
||||
|
||||
@@ -42,7 +42,7 @@ import android.view.View;
|
||||
import android.widget.RemoteViews;
|
||||
|
||||
/**
|
||||
* A track widget to start/stop/pause/resume recording, launch My Tracks, and
|
||||
* A track widget to start/stop/pause/resume recording, launch the main activity, and
|
||||
* display track statistics (total distance, total time, average speed, and
|
||||
* moving time) for the recording track, the selected track or the last track.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user