am 362ab36c: Fix a null object reference crash on Emoji Palette
* commit '362ab36cf009d724768e742c3b2e264387efc521': Fix a null object reference crash on Emoji Palettemain
commit
f45b3b98cf
|
@ -724,8 +724,10 @@ public final class EmojiPalettesView extends LinearLayout implements OnTabChange
|
||||||
// canceled.
|
// canceled.
|
||||||
final EmojiPageKeyboardView currentKeyboardView =
|
final EmojiPageKeyboardView currentKeyboardView =
|
||||||
mActiveKeyboardViews.get(mActivePosition);
|
mActiveKeyboardViews.get(mActivePosition);
|
||||||
|
if (currentKeyboardView != null) {
|
||||||
currentKeyboardView.releaseCurrentKey();
|
currentKeyboardView.releaseCurrentKey();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getCount() {
|
public int getCount() {
|
||||||
|
|
Loading…
Reference in New Issue