Remove the parameter of updateCalorie method of TrackRecordingService. Re-calculate the calorie of track and last marker in TrackRecordingService.

This commit is contained in:
youtaol
2013-10-25 14:41:21 +08:00
parent c68ec5ed9a
commit c43e9047bc
10 changed files with 107 additions and 80 deletions
@@ -1,2 +0,0 @@
package com.google.android.apps.mytracks.content;
parcelable Track;
@@ -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();
}