Loading java/src/com/android/inputmethod/keyboard/PointerTracker.java +7 −4 Original line number Diff line number Diff line Loading @@ -1247,11 +1247,14 @@ public final class PointerTracker implements PointerTrackerQueue.Element { } private void startRepeatKey(final Key key) { if (key != null && key.isRepeatable() && !sInGesture) { if (sInGesture) return; if (key == null) return; if (!key.isRepeatable()) return; // Don't start key repeat when we are in sliding input mode. if (mIsInSlidingKeyInputFromModifier) return; onRegisterKey(key); mTimerProxy.startKeyRepeatTimer(this); } } public void onRegisterKey(final Key key) { if (key != null) { Loading Loading
java/src/com/android/inputmethod/keyboard/PointerTracker.java +7 −4 Original line number Diff line number Diff line Loading @@ -1247,11 +1247,14 @@ public final class PointerTracker implements PointerTrackerQueue.Element { } private void startRepeatKey(final Key key) { if (key != null && key.isRepeatable() && !sInGesture) { if (sInGesture) return; if (key == null) return; if (!key.isRepeatable()) return; // Don't start key repeat when we are in sliding input mode. if (mIsInSlidingKeyInputFromModifier) return; onRegisterKey(key); mTimerProxy.startKeyRepeatTimer(this); } } public void onRegisterKey(final Key key) { if (key != null) { Loading