code: public void setSearchableInfo(SearchableInfo searchableInfo) {
          if (searchView != null) {
              searchView.setSearchableInfo(searchableInfo);
          } else if (supportView != null) {
              supportView.setSearchableInfo(searchableInfo);
          } else {
              throw new IllegalStateException(ERROR_NO_SEARCHVIEW);
          }
      }
docs: Sets the SearchableInfo for this SearchView. Properties in the SearchableInfo are used
  to display labels, hints, suggestions, create intents for launching search results screens
  and controlling other affordances such as a voice button.
  
  @param searchableInfo a SearchableInfo can be retrieved from the SearchManager, for a specific
  activity or a global search provider.