forked from upstream-mirrors/OpenTracks
Remove the parameter of updateCalorie method of TrackRecordingService. Re-calculate the calorie of track and last marker in TrackRecordingService.
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
package com.google.android.apps.mytracks.content;
|
||||
parcelable Track;
|
||||
+2
-5
@@ -16,7 +16,6 @@
|
||||
package com.google.android.apps.mytracks.services;
|
||||
|
||||
import com.google.android.apps.mytracks.content.WaypointCreationRequest;
|
||||
import com.google.android.apps.mytracks.content.Track;
|
||||
|
||||
/**
|
||||
* MyTracks service.
|
||||
@@ -109,9 +108,7 @@ interface ITrackRecordingService {
|
||||
int getSensorState();
|
||||
|
||||
/**
|
||||
* Updates the TripStatistics of current recording track.
|
||||
*
|
||||
* @param track the current recording track
|
||||
* Updates the calorie of current recording track.
|
||||
*/
|
||||
void updateTripStatistics(in Track track);
|
||||
void updateCalorie();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user