mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Add comments
This commit is contained in:
parent
43fc4d7427
commit
5baa7654d0
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ public class ContributionController {
|
||||||
case SELECT_FROM_GALLERY:
|
case SELECT_FROM_GALLERY:
|
||||||
//Handles image picked from gallery
|
//Handles image picked from gallery
|
||||||
Uri imageData = data.getData();
|
Uri imageData = data.getData();
|
||||||
//TODO: Check SHA1 hash of image data here?
|
//TODO: Check SHA1 hash of image data here or where the intent is received at ShareActivity
|
||||||
shareIntent.setType(activity.getContentResolver().getType(imageData));
|
shareIntent.setType(activity.getContentResolver().getType(imageData));
|
||||||
shareIntent.putExtra(Intent.EXTRA_STREAM, imageData);
|
shareIntent.putExtra(Intent.EXTRA_STREAM, imageData);
|
||||||
shareIntent.putExtra(UploadService.EXTRA_SOURCE, fr.free.nrw.commons.contributions.Contribution.SOURCE_GALLERY);
|
shareIntent.putExtra(UploadService.EXTRA_SOURCE, fr.free.nrw.commons.contributions.Contribution.SOURCE_GALLERY);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue