private void tryStartingKbMode ( int keyCode ) { if ( mTimePicker . trySettingInputEnabled ( false ) && ( keyCode == - 1 || addKeyIfLegal ( keyCode ) ) ) { mInKbMode = true ; mDoneButton . setEnabled ( false ) ; updateDisplay ( false ) ; } }
Try to start keyboard mode with the specified key as long as the timepicker is not in the middle of a touch - event .