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

* commit '4eb240eb2c932ce936be41d26ac780e68ada1622':
  Force KeyboardShiftState reset by setShiftLocked(false)
main
Tadashi G. Takaoka 2012-01-22 20:21:27 -08:00 committed by Android Git Automerger
commit 861e23af9c
1 changed files with 1 additions and 6 deletions

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)