Cleanup: removed ContentProviderUtils.getMarkers().

This commit is contained in:
Dennis Guse
2025-11-26 21:51:07 +01:00
parent 4ae9d24960
commit 28d49de047
5 changed files with 18 additions and 25 deletions
@@ -455,20 +455,6 @@ public class ContentProviderUtils {
return getMarkerCursor(null, selection, selectionArgs, MarkerColumns._ID, maxCount);
}
@Deprecated //TODO Move to test package
@VisibleForTesting
public List<Marker> getMarkers(Track.Id trackId) {
ArrayList<Marker> markers = new ArrayList<>();
try (Cursor cursor = getMarkerCursor(trackId)) {
if (cursor.moveToFirst()) {
do {
markers.add(createMarker(cursor));
} while (cursor.moveToNext());
}
}
return markers;
}
// TODO Merge with updateMarker
public Marker.Id insertMarker(@NonNull Marker marker) {
marker.setId(null);