Fix NPE when eventListener is not set.
This commit is contained in:
parent
4b3580d98a
commit
6625ac02d5
1 changed files with 3 additions and 1 deletions
|
@ -1683,7 +1683,9 @@ public final class ConversationItem extends RelativeLayout implements BindableCo
|
|||
return null;
|
||||
} else {
|
||||
return new GiphyMp4PlaybackPolicyEnforcer(() -> {
|
||||
if (eventListener != null) {
|
||||
eventListener.onPlayInlineContent(null);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue