private void finishKbMode(boolean updateDisplays){
  mInKbMode=false;
  if (!mTypedTimes.isEmpty()) {
    int values[]=getEnteredTime(null);
    mTimePicker.setTime(values[0],values[1]);
    if (!mIs24HourMode) {
      mTimePicker.setAmOrPm(values[2]);
    }
    mTypedTimes.clear();
  }
  if (updateDisplays) {
    updateDisplay(false);
    mTimePicker.trySettingInputEnabled(true);
  }
}

private void finishKbMode ( boolean updateDisplays ) { mInKbMode = false ; if ( ! mTypedTimes . isEmpty ( ) ) { int values [ ] = getEnteredTime ( null ) ; mTimePicker . setTime ( values [ 0 ] , values [ 1 ] ) ; if ( ! mIs24HourMode ) { mTimePicker . setAmOrPm ( values [ 2 ] ) ; } mTypedTimes . clear ( ) ; } if ( updateDisplays ) { updateDisplay ( false ) ; mTimePicker . trySettingInputEnabled ( true ) ; } }
get out of keyboard mode . if there is nothing in typedtimes , revert to timepicker ' s time .
