Really pass the y - touch correction to the native code

Bug: 4343280

Test:  I11f8518d9ee

Change-Id: I4b90bdffffed9736af223ac83c1a54019add70bb
main
satok 2012-03-14 21:39:31 +09:00
parent 2d5c40d873
commit 853d9020ed
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ public class WordComposer {
codes = keyDetector.newCodeArray(); codes = keyDetector.newCodeArray();
keyDetector.getKeyAndNearbyCodes(x, y, codes); keyDetector.getKeyAndNearbyCodes(x, y, codes);
keyX = keyDetector.getTouchX(x); keyX = keyDetector.getTouchX(x);
keyY = keyDetector.getTouchX(y); keyY = keyDetector.getTouchY(y);
} }
add(primaryCode, codes, keyX, keyY); add(primaryCode, codes, keyX, keyY);
} }