title: SpeechRecognizer is not working if Enhanced Google services is selected
body: <p>The voice input in my application does not work if I select "Enhanced Google services" in Voice input Settings (please see screenshot):</p>
  
  <p><a href="https://i.stack.imgur.com/Amr4G.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Amr4G.png" alt="enter image description here"></a></p>
  
  <p>I use speech recognition without a dialog:</p>
  
  <pre><code>@Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  
      MyRecognitionListener listener = new MyRecognitionListener();
      sr = SpeechRecognizer.createSpeechRecognizer(this);       
      sr.setRecognitionListener(listener);
  
      findViewById(R.id.bt1).setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
              Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);    
              intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);
              intent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 1);
              intent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE,"voice.recognition.query");           
              intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, "en_US");
              intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_PREFERENCE, "en_US");
              intent.putExtra(RecognizerIntent.EXTRA_ONLY_RETURN_LANGUAGE_PREFERENCE, "en_US");
              sr.startListening(intent);
         }
     });     
  }
  </code></pre>
  
  <p>Could you please help, what can be the problem?</p>