mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix NPE
Bug: 5086698 Change-Id: Iaa3082649344722bd643c49c9d151df754d6e337
This commit is contained in:
parent
60ccbe16ee
commit
0a5345c7b6
@ -674,6 +674,7 @@ public class PointerTracker {
|
||||
|
||||
private void startLongPressTimer(int keyIndex) {
|
||||
Key key = getKey(keyIndex);
|
||||
if (key == null) return;
|
||||
if (key.mCode == Keyboard.CODE_SHIFT) {
|
||||
if (sLongPressShiftKeyTimeout > 0) {
|
||||
mTimerProxy.startLongPressTimer(sLongPressShiftKeyTimeout, keyIndex, this);
|
||||
|
Loading…
Reference in New Issue
Block a user