// Implements {@link KeyboardState.SwitchActions}.
 @Override
 public void requestUpdatingShiftState() {
   mState.onUpdateShiftState(
       mLatinIME.getCurrentAutoCapsState(), mLatinIME.getCurrentRecapitalizeState());
 }
 /** Update keyboard shift state triggered by connected EditText status change. */
 public void updateShiftState() {
   mState.onUpdateShiftState(
       mLatinIME.getCurrentAutoCapsState(), mLatinIME.getCurrentRecapitalizeState());
 }