Skip to content

Commit

Permalink
Deprecate methods for testing purposes
Browse files Browse the repository at this point in the history
[TrackRecordingService]: Deprecate methods for testing purposes

- Added `@Deprecated` annotation to `getTrackPointCreator()` and `getTrackRecordingManager()` methods.
  - `since`: 14.0.0
  - `forRemoval`: true

These methods are deprecated for testing purposes only and are currently marked for removal.
  • Loading branch information
qureshiwaqas authored Feb 15, 2024
1 parent 0108191 commit aa15cd4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ public Marker.Id insertMarker(String name, String category, String description,
return trackRecordingManager.insertMarker(name, category, description, photoUrl);
}

@Deprecated
@Deprecated(since = "14.0.0", forRemoval = true)
@VisibleForTesting
public TrackPointCreator getTrackPointCreator() {
return trackPointCreator;
Expand Down Expand Up @@ -354,4 +354,4 @@ public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, @Null
trackPointCreator.onSharedPreferenceChanged(sharedPreferences, key);
notificationManager.onSharedPreferenceChanged(sharedPreferences, key);
}
}
}

0 comments on commit aa15cd4

Please sign in to comment.