forked from upstream-mirrors/OpenTracks
Fix comment forfd49d88ec658.
This commit is contained in:
+9
-6
@@ -81,8 +81,15 @@ public class SendFusionTablesAsyncTask extends AsyncTask<Void, Integer, Boolean>
|
|||||||
private final MyTracksProviderUtils myTracksProviderUtils;
|
private final MyTracksProviderUtils myTracksProviderUtils;
|
||||||
private final HttpRequestFactory httpRequestFactory;
|
private final HttpRequestFactory httpRequestFactory;
|
||||||
|
|
||||||
private boolean canRetry; // true if can retry the upload
|
/**
|
||||||
private boolean completed; // true if the AsyncTask has completed
|
* True if can retry sending to Google Fusion Tables.
|
||||||
|
*/
|
||||||
|
private boolean canRetry;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* True if the AsyncTask has completed.
|
||||||
|
*/
|
||||||
|
private boolean completed;
|
||||||
|
|
||||||
// The following variables are for per upload states
|
// The following variables are for per upload states
|
||||||
private String authToken;
|
private String authToken;
|
||||||
@@ -105,8 +112,6 @@ public class SendFusionTablesAsyncTask extends AsyncTask<Void, Integer, Boolean>
|
|||||||
completed = false;
|
completed = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// The following methods interact with the activity
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the activity associated with this AyncTask.
|
* Sets the activity associated with this AyncTask.
|
||||||
*
|
*
|
||||||
@@ -153,8 +158,6 @@ public class SendFusionTablesAsyncTask extends AsyncTask<Void, Integer, Boolean>
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// The following methods send a track to Google Fusion Tables
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Uploads a track to Google Fusion Tables.
|
* Uploads a track to Google Fusion Tables.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user