Force KeyboardShiftState reset by setShiftLocked(false)

Change-Id: Ib00d598e6e6a91e594ae01cfc51fb688601f6b8f
main
Tadashi G. Takaoka 2012-01-23 12:52:51 +09:00
parent 69fa792184
commit 4eb240eb2c
1 changed files with 1 additions and 6 deletions

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)