aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorsatok <satok@google.com>2012-03-05 21:07:03 +0900
committersatok <satok@google.com>2012-03-05 21:07:03 +0900
commitadd6dfb8fe2b5656989f02b3f3293409dd651211 (patch)
tree3ea78cc639e5987eb97a7b9fe8660ae67886e283 /java/src
parent907371b54fcad3df609bb75f7ad38f430189578b (diff)
downloadlatinime-add6dfb8fe2b5656989f02b3f3293409dd651211.tar.gz
latinime-add6dfb8fe2b5656989f02b3f3293409dd651211.tar.xz
latinime-add6dfb8fe2b5656989f02b3f3293409dd651211.zip
Remove unused code
Change-Id: I894c0850e803bdfc7b590a62ddd4076a3a4e4658
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/keyboard/PointerTracker.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/java/src/com/android/inputmethod/keyboard/PointerTracker.java b/java/src/com/android/inputmethod/keyboard/PointerTracker.java
index c45308419..f8f17bdd9 100644
--- a/java/src/com/android/inputmethod/keyboard/PointerTracker.java
+++ b/java/src/com/android/inputmethod/keyboard/PointerTracker.java
@@ -722,13 +722,6 @@ public class PointerTracker {
final int[] codes = mKeyDetector.newCodeArray();
mKeyDetector.getKeyAndNearbyCodes(x, y, codes);
- // Swap the first and second values in the codes array if the primary code is not the
- // first value but the second value in the array. This happens when key debouncing is
- // in effect.
- if (codes.length >= 2 && codes[0] != code && codes[1] == code) {
- codes[1] = codes[0];
- codes[0] = code;
- }
callListenerOnCodeInput(key, code, codes, x, y);
callListenerOnRelease(key, code, false);
}