mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix a null object reference crash on Emoji Palette
Do nothing if the current EmojiPageKeyboardView is null. BUG: 13006906 Change-Id: I169b70122ec939075b5be033953b48762fd528fc
This commit is contained in:
parent
5f9f4b929b
commit
362ab36cf0
@ -724,7 +724,9 @@ public final class EmojiPalettesView extends LinearLayout implements OnTabChange
|
|||||||
// canceled.
|
// canceled.
|
||||||
final EmojiPageKeyboardView currentKeyboardView =
|
final EmojiPageKeyboardView currentKeyboardView =
|
||||||
mActiveKeyboardViews.get(mActivePosition);
|
mActiveKeyboardViews.get(mActivePosition);
|
||||||
currentKeyboardView.releaseCurrentKey();
|
if (currentKeyboardView != null) {
|
||||||
|
currentKeyboardView.releaseCurrentKey();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user