mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Fix NPE when eventListener is not set.
This commit is contained in:
committed by
Cody Henthorne
parent
4b3580d98a
commit
6625ac02d5
@@ -1683,7 +1683,9 @@ public final class ConversationItem extends RelativeLayout implements BindableCo
|
||||
return null;
|
||||
} else {
|
||||
return new GiphyMp4PlaybackPolicyEnforcer(() -> {
|
||||
eventListener.onPlayInlineContent(null);
|
||||
if (eventListener != null) {
|
||||
eventListener.onPlayInlineContent(null);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user