Really pass the y - touch correction to the native code
Bug: 4343280 Test: I11f8518d9ee Change-Id: I4b90bdffffed9736af223ac83c1a54019add70bbmain
parent
2d5c40d873
commit
853d9020ed
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue