code: private Intent createVoiceWebSearchIntent(Intent baseIntent, SearchableInfo searchable) {
          Intent voiceIntent = new Intent(baseIntent);
          ComponentName searchActivity = searchable.getSearchActivity();
          voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null
                  : searchActivity.flattenToShortString());
          return voiceIntent;
      }
docs: Create and return an Intent that can launch the voice search activity for web search.