mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Pass in decimalCoords
This commit is contained in:
parent
40f69b1d10
commit
6250aaa89d
2 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue