title: why is warning "cannot resolve symbol"- "intent"
body: <p>I'm trying to "destroy" an "ACTION_RECOGNIZE_SPEECH" intent...</p>
  
  <pre><code>public  void getSpeech(View view){
  
      Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
  </code></pre>
  
  <p>...</p>
  
  <pre><code>@Override
  public void onDestroy() {
      // prevent memory leaks when activity is destroyed
      ....stopListening();
      ....cancel();
      intent.destroy();
      intent. getInstance().shutdown();
      super.onDestroy();
  </code></pre>