@Override public boolean dispatchKeyEvent(KeyEvent event) { if (event.getKeyCode() == KeyEvent.KEYCODE_BACK && isTiming) { return true; } return super.dispatchKeyEvent(event); }