Merge "Corresponding to TBR of Id2b0b974" into gingerbread
commit
83b3cf56cd
|
@ -35,8 +35,8 @@ class ProximityKeyDetector extends KeyDetector {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getKeyIndexAndNearbyCodes(int x, int y, int[] allKeys) {
|
public int getKeyIndexAndNearbyCodes(int x, int y, int[] allKeys) {
|
||||||
int touchX = getTouchX(x);
|
final int touchX = getTouchX(x);
|
||||||
int touchY = getTouchY(y);
|
final int touchY = getTouchY(y);
|
||||||
final Key[] keys = mKeys;
|
final Key[] keys = mKeys;
|
||||||
if (keys == null)
|
if (keys == null)
|
||||||
throw new IllegalStateException("keyboard isn't set");
|
throw new IllegalStateException("keyboard isn't set");
|
||||||
|
|
Loading…
Reference in New Issue