From 72d98fab21a23a1a2b88e1da07723a8a9630272b Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Thu, 2 Sep 2010 22:36:22 +0900 Subject: [PATCH] Corresponding to TBR of Id2b0b974 This is follow up change of Id2b0b974fffdf6f09ee1828e957b973d2ce1c315 Bug: 2959169 Change-Id: Ie47db5fce7937a4d70c432ab76510d0dc3f68401 --- .../com/android/inputmethod/latin/ProximityKeyDetector.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/src/com/android/inputmethod/latin/ProximityKeyDetector.java b/java/src/com/android/inputmethod/latin/ProximityKeyDetector.java index eaaed91aa..408e4e147 100644 --- a/java/src/com/android/inputmethod/latin/ProximityKeyDetector.java +++ b/java/src/com/android/inputmethod/latin/ProximityKeyDetector.java @@ -35,8 +35,8 @@ class ProximityKeyDetector extends KeyDetector { @Override public int getKeyIndexAndNearbyCodes(int x, int y, int[] allKeys) { - int touchX = getTouchX(x); - int touchY = getTouchY(y); + final int touchX = getTouchX(x); + final int touchY = getTouchY(y); final Key[] keys = mKeys; if (keys == null) throw new IllegalStateException("keyboard isn't set");