prefer attachment in share intent if there is one
This commit is contained in:
parent
f42d144a66
commit
1f77d6b8cd
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ public class ShareWithActivity extends XmppActivity implements XmppConnectionSer
|
||||||
if (data != null && "geo".equals(data.getScheme())) {
|
if (data != null && "geo".equals(data.getScheme())) {
|
||||||
this.share.uris.clear();
|
this.share.uris.clear();
|
||||||
this.share.uris.add(data);
|
this.share.uris.add(data);
|
||||||
} else if (type != null && uri != null && (text == null || !type.equals("text/plain"))) {
|
} else if (type != null && uri != null) {
|
||||||
this.share.uris.clear();
|
this.share.uris.clear();
|
||||||
this.share.uris.add(uri);
|
this.share.uris.add(uri);
|
||||||
} else {
|
} else {
|
||||||
|
|
Reference in a new issue