mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix NullPointerException in onUpEventInternal
This commit is contained in:
parent
dcce3ea5ae
commit
3208ab3050
@ -1004,7 +1004,7 @@ public final class PointerTracker implements PointerTrackerQueue.Element,
|
||||
// Release the last pressed key.
|
||||
setReleasedKeyGraphics(currentKey, true /* withAnimation */);
|
||||
|
||||
if(mCursorMoved && currentKey.getCode() == Constants.CODE_DELETE) {
|
||||
if(mCursorMoved && currentKey != null && currentKey.getCode() == Constants.CODE_DELETE) {
|
||||
sListener.onUpWithDeletePointerActive();
|
||||
} else if(mCursorMoved) {
|
||||
sListener.onUpWithPointerActive();
|
||||
|
Loading…
Reference in New Issue
Block a user