Merge "Corresponding to TBR of Id2b0b974" into gingerbread

main
Tadashi G. Takaoka 2010-09-02 07:22:50 -07:00 committed by Android (Google) Code Review
commit 83b3cf56cd
1 changed files with 2 additions and 2 deletions

View File

@ -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");