Prevent crash in forwarding captioned audio message to multiple recipients.
This commit is contained in:
parent
d74e9f7410
commit
6418eac658
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ public final class MultiShareArgs implements Parcelable {
|
||||||
if (!requiresInterstitial()) {
|
if (!requiresInterstitial()) {
|
||||||
return InterstitialContentType.NONE;
|
return InterstitialContentType.NONE;
|
||||||
} else if (!this.getMedia().isEmpty() ||
|
} else if (!this.getMedia().isEmpty() ||
|
||||||
(this.getDataUri() != null && this.getDataUri() != Uri.EMPTY && this.getDataType() != null))
|
(this.getDataUri() != null && this.getDataUri() != Uri.EMPTY && this.getDataType() != null && MediaUtil.isImageOrVideoType(this.getDataType())))
|
||||||
{
|
{
|
||||||
return InterstitialContentType.MEDIA;
|
return InterstitialContentType.MEDIA;
|
||||||
} else if (!TextUtils.isEmpty(this.getDraftText())) {
|
} else if (!TextUtils.isEmpty(this.getDraftText())) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue