code: @Override
      public boolean onKeyDown(int keyCode, KeyEvent event) {
          if (mSearchable == null) {
              return false;
          }
  
          // if it's an action specified by the searchable activity, launch the
          // entered query with the action key
          // TODO SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode);
          // TODO if ((actionKey != null) && (actionKey.getQueryActionMsg() != null)) {
          // TODO     launchQuerySearch(keyCode, actionKey.getQueryActionMsg(), mQueryTextView.getText()
          // TODO             .toString());
          // TODO     return true;
          // TODO }
  
          return super.onKeyDown(keyCode, event);
      }
docs: Handles the key down event for dealing with action keys.
  
  @param keyCode This is the keycode of the typed key, and is the same value as
  found in the KeyEvent parameter.
  @param event The complete event record for the typed key
  
  @return true if the event was handled here, or false if not.