code: private void setQuery(CharSequence query) {
          mQueryTextView.setText(query);
          // Move the cursor to the end
          mQueryTextView.setSelection(TextUtils.isEmpty(query) ? 0 : query.length());
      }
docs: Sets the text in the query box, without updating the suggestions.