mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Properly check for action being sent
This commit is contained in:
parent
b2db85ad06
commit
6a2f0e203c
1 changed files with 1 additions and 1 deletions
|
|
@ -208,7 +208,7 @@ public class MultipleShareActivity
|
||||||
app.getApi().setAuthCookie(authCookie);
|
app.getApi().setAuthCookie(authCookie);
|
||||||
Intent intent = getIntent();
|
Intent intent = getIntent();
|
||||||
|
|
||||||
if(intent.getAction() == Intent.ACTION_SEND_MULTIPLE) {
|
if(intent.getAction().equals(Intent.ACTION_SEND_MULTIPLE)) {
|
||||||
if(photosList == null) {
|
if(photosList == null) {
|
||||||
photosList = new ArrayList<Contribution>();
|
photosList = new ArrayList<Contribution>();
|
||||||
ArrayList<Uri> urisList = intent.getParcelableArrayListExtra(Intent.EXTRA_STREAM);
|
ArrayList<Uri> urisList = intent.getParcelableArrayListExtra(Intent.EXTRA_STREAM);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue