mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Send sharedprefs to handleImagePicked() camera case
This commit is contained in:
parent
4551eebeb6
commit
84b7cda560
1 changed files with 3 additions and 0 deletions
|
|
@ -101,6 +101,9 @@ public class ContributionController {
|
|||
shareIntent.setType("image/jpeg"); //FIXME: Find out appropriate mime type
|
||||
shareIntent.putExtra(EXTRA_STREAM, lastGeneratedCaptureUri);
|
||||
shareIntent.putExtra(EXTRA_SOURCE, SOURCE_CAMERA);
|
||||
if (isDirectUpload) {
|
||||
shareIntent.putExtra("isDirectUpload", true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
Timber.i("Image selected");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue