Remove TODO

This commit is contained in:
misaochan 2016-12-15 15:39:18 +13:00
parent dcecf607ef
commit a93b68500b
2 changed files with 0 additions and 2 deletions

View file

@ -74,7 +74,6 @@ public class ContributionController {
case SELECT_FROM_GALLERY:
//Handles image picked from gallery
Uri imageData = data.getData();
//TODO: Check SHA1 hash of image data here or where the intent is received at ShareActivity
shareIntent.setType(activity.getContentResolver().getType(imageData));
shareIntent.putExtra(Intent.EXTRA_STREAM, imageData);
shareIntent.putExtra(UploadService.EXTRA_SOURCE, fr.free.nrw.commons.contributions.Contribution.SOURCE_GALLERY);

View file

@ -157,7 +157,6 @@ public class UploadController {
protected void onPostExecute(Contribution contribution) {
super.onPostExecute(contribution);
//Starts the upload. If commented out, user can proceed to next Fragment but upload doesn't happen
//TODO: Trail for duplicate task
uploadService.queue(UploadService.ACTION_UPLOAD_FILE, contribution);
onComplete.onUploadStarted(contribution);
}