title: Where are permissions declared in Android Studio?
body: <p>I used to have call persmissions in my app manifest but I recently removed them all. I changed my ACTION_CALL intents for ACTION_DIAL which isn't supposed to ask for any permission. The thing is that the app is still asking for those permissions...
  So, why could be this happening?</p>
  
  <p>Thanks in advance</p>
  
  <p>EDIT: I've added some code:</p>
  
  <p>Basically this is my <code>AndroidManifest.xml</code> structure:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
            package="com.my.app"  &gt;
  
      &lt;application
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
  
          &lt;activity&gt;
              (...)
          &lt;/activity&gt;
  
          &lt;receiver &gt;
              (...)
          &lt;/receiver&gt;
  
          &lt;activity &gt;
              (...)
          &lt;/activity&gt;
  
          &lt;activity&gt;
              (...)
          &lt;/activity&gt;
  
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>And the source code I've changed in order to avoid using any permission:</p>
  
  <pre><code>    _call.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
  
              if (_phone.getText().length() != 0) {
                  String uri = "tel:" + _phone.getText();
                  Intent intent = new Intent(Intent.ACTION_DIAL, Uri.parse(uri));
                  startActivity(intent);
              }
          }
  
      });
  </code></pre>
  
  <p>I don't know what logcat would be useful for, cause the "error" is that the app ask for the permission when I'm going to install it, not when it is running</p>