Force KeyboardShiftState reset by setShiftLocked(false)

Change-Id: Ib00d598e6e6a91e594ae01cfc51fb688601f6b8f
This commit is contained in:
Tadashi G. Takaoka 2012-01-23 12:52:51 +09:00
parent 69fa792184
commit 4eb240eb2c

View File

@ -73,12 +73,7 @@ public class KeyboardShiftState {
break;
}
} else {
switch (oldState) {
case SHIFT_LOCKED:
case SHIFT_LOCK_SHIFTED:
mState = NORMAL;
break;
}
mState = NORMAL;
}
if (DEBUG)
Log.d(TAG, "setShiftLocked(" + newShiftLockState + "): " + toString(oldState)