Pass in decimalCoords

This commit is contained in:
misaochan 2016-09-05 15:58:30 +12:00
parent 40f69b1d10
commit 6250aaa89d
2 changed files with 3 additions and 3 deletions

View file

@ -112,8 +112,8 @@ public class ShareActivity
Log.d(TAG, "Cache the categories found");
}
//TODO: Pass in coords here? Need to be in format 37.51136|-77.602615
uploadController.startUpload(title, mediaUri, description, mimeType, source, new UploadController.ContributionUploadProgress() {
//TODO: Pass in coords here? Need to be in format 37.51136|-77.602615 , which decimalCoords appears to be
uploadController.startUpload(title, mediaUri, description, mimeType, source, decimalCoords, new UploadController.ContributionUploadProgress() {
public void onUploadStarted(Contribution contribution) {
ShareActivity.this.contribution = contribution;
showPostUpload();

View file

@ -65,7 +65,7 @@ public class UploadController {
}
}
public void startUpload(String title, Uri mediaUri, String description, String mimeType, String source, ContributionUploadProgress onComplete) {
public void startUpload(String title, Uri mediaUri, String description, String mimeType, String source, String decimalCoords, ContributionUploadProgress onComplete) {
Contribution contribution;
//TODO: Modify this to include coords