mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Send sharedprefs to handleImagePicked() camera case
This commit is contained in:
parent
d7a0c5e98a
commit
970df6e751
1 changed files with 3 additions and 0 deletions
|
|
@ -104,6 +104,9 @@ public class ContributionController {
|
||||||
shareIntent.setType("image/jpeg");
|
shareIntent.setType("image/jpeg");
|
||||||
shareIntent.putExtra(EXTRA_STREAM, lastGeneratedCaptureUri);
|
shareIntent.putExtra(EXTRA_STREAM, lastGeneratedCaptureUri);
|
||||||
shareIntent.putExtra(EXTRA_SOURCE, SOURCE_CAMERA);
|
shareIntent.putExtra(EXTRA_SOURCE, SOURCE_CAMERA);
|
||||||
|
if (isDirectUpload) {
|
||||||
|
shareIntent.putExtra("isDirectUpload", true);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue