From 853d9020edb058e39c46a6af1215dfcfeb865ad8 Mon Sep 17 00:00:00 2001
From: satok <satok@google.com>
Date: Wed, 14 Mar 2012 21:39:31 +0900
Subject: [PATCH] Really pass the y - touch correction to the native code

Bug: 4343280

Test:  I11f8518d9ee

Change-Id: I4b90bdffffed9736af223ac83c1a54019add70bb
---
 java/src/com/android/inputmethod/latin/WordComposer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/src/com/android/inputmethod/latin/WordComposer.java b/java/src/com/android/inputmethod/latin/WordComposer.java
index 3324a37932..5f6be68673 100644
--- a/java/src/com/android/inputmethod/latin/WordComposer.java
+++ b/java/src/com/android/inputmethod/latin/WordComposer.java
@@ -143,7 +143,7 @@ public class WordComposer {
             codes = keyDetector.newCodeArray();
             keyDetector.getKeyAndNearbyCodes(x, y, codes);
             keyX = keyDetector.getTouchX(x);
-            keyY = keyDetector.getTouchX(y);
+            keyY = keyDetector.getTouchY(y);
         }
         add(primaryCode, codes, keyX, keyY);
     }
-- 
GitLab