Fix wrong long press timeout for shift key

Change-Id: Ifafbed1bcdaf662ee6a69050043739fa71986841
This commit is contained in:
Tadashi G. Takaoka 2012-02-01 21:15:34 +09:00
parent ff858c7ff5
commit 40e9012276

View file

@ -166,7 +166,7 @@ public class LatinKeyboardView extends KeyboardView implements PointerTracker.Ke
final int delay; final int delay;
switch (code) { switch (code) {
case Keyboard.CODE_SHIFT: case Keyboard.CODE_SHIFT:
delay = mParams.mLongPressKeyTimeout; delay = mParams.mLongPressShiftKeyTimeout;
break; break;
default: default:
delay = 0; delay = 0;