am 4eb240eb: Force KeyboardShiftState reset by setShiftLocked(false)

* commit '4eb240eb2c932ce936be41d26ac780e68ada1622':
  Force KeyboardShiftState reset by setShiftLocked(false)
This commit is contained in:
Tadashi G. Takaoka 2012-01-22 20:21:27 -08:00 committed by Android Git Automerger
commit 861e23af9c

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)