mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-21 18:26:57 +00:00
Fix possible NPE when dismissing emoji popup.
This commit is contained in:
@@ -141,7 +141,7 @@ public class EmojiPageView extends RecyclerView implements VariationSelectorList
|
||||
|
||||
@Override
|
||||
protected void onVisibilityChanged(@NonNull View changedView, int visibility) {
|
||||
if (visibility != VISIBLE) {
|
||||
if (visibility != VISIBLE && popup != null) {
|
||||
popup.dismiss();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user