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; break;
} }
} else { } else {
switch (oldState) { mState = NORMAL;
case SHIFT_LOCKED:
case SHIFT_LOCK_SHIFTED:
mState = NORMAL;
break;
}
} }
if (DEBUG) if (DEBUG)
Log.d(TAG, "setShiftLocked(" + newShiftLockState + "): " + toString(oldState) Log.d(TAG, "setShiftLocked(" + newShiftLockState + "): " + toString(oldState)