mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-12 22:03:07 +02:00
Track deletion UI: code cleanup.
This commit is contained in:
@@ -165,9 +165,7 @@ public class ContentProviderUtils {
|
||||
return track;
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes all tracks (including waypoints and trackPoints).
|
||||
*/
|
||||
@VisibleForTesting
|
||||
public void deleteAllTracks(Context context) {
|
||||
contentResolver.delete(TrackPointsColumns.CONTENT_URI_BY_ID, null, null);
|
||||
contentResolver.delete(WaypointsColumns.CONTENT_URI, null, null);
|
||||
|
||||
Reference in New Issue
Block a user