Skip to content

Commit

Permalink
Merge pull request #14 from Vaibhav2399/sameer
Browse files Browse the repository at this point in the history
40272408 - Removed deprected class
  • Loading branch information
sdsameer authored Feb 16, 2024
2 parents d391e17 + 509f783 commit bc3c393
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ public class StartRecording extends AbstractAPIActivity {
public static final String EXTRA_STATS_TARGET_PACKAGE = "STATS_TARGET_PACKAGE";
public static final String EXTRA_STATS_TARGET_CLASS = "STATS_TARGET_CLASS";

private static final String TAG = StartRecording.class.getSimpleName();

protected void execute(TrackRecordingService service) {
Track.Id trackId = service.startNewTrack();
Expand All @@ -42,12 +41,11 @@ private void updateTrackMetadata(@NonNull Track.Id trackId, @NonNull Bundle bund
ContentProviderUtils contentProviderUtils = new ContentProviderUtils(this);
Track track = contentProviderUtils.getTrack(trackId);

TrackUtils.updateTrack(this, track,
bundle.getString(EXTRA_TRACK_NAME, null),
bundle.getString(EXTRA_TRACK_ACTIVITY_TYPE_LOCALIZED, null),
ActivityType.findBy(bundle.getString(EXTRA_TRACK_ACTIVITY_TYPE_ID, null)),
bundle.getString(EXTRA_TRACK_DESCRIPTION, null),
contentProviderUtils);


contentProviderUtils.updateTrack(track);


}

private void startDashboardAPI(@NonNull Track.Id trackId, @NonNull Bundle bundle) {
Expand Down

0 comments on commit bc3c393

Please sign in to comment.