title: Why are two permissions always requested during installation?
body: <p>I'm building a tiny dummy app using the command line (no gradle) with just a single blank activity, no permissions, no support libraries (or any other libraries, Google Play, etc) and yet Android always prompts for these two permissions during installation:</p>
  
  <p><a href="https://i.stack.imgur.com/MKjC7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MKjC7.png" alt="enter image description here"></a></p>
  
  <p>I understand how and why permissions get merged in when other libraries are included during a build, but my app has nothing included. I've extracted and decoded the compiled AndroidManifest.xml from the resulting APK and there's no <code>&lt;uses-permission&gt;</code> tag anywhere inside it.</p>
  
  <p>According to <a href="https://stackoverflow.com/q/27490598/1132806">this question</a>, the READ_PHONE_STATE is added if no <code>minSdkVersion</code> value is entered, but I have one declared in the manifest (which I can also see in the compiled manifest).
  Here is the source manifest:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="dummy.testapp"
      versionCode="1"&gt;
  
      &lt;uses-sdk minSdkVersion="20" targetSdkVersion="22" /&gt;
  
      &lt;application
          android:label="TestApp No Perms"
          android:icon="@drawable/ic_launcher"&gt;
  
          &lt;activity android:name=".MainActivity"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
  
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>The single activity (MainActivity) just calls <code>setContentView()</code> on a blank layout.</p>
  
  <p>Can anyone shed any light as to why these permissions are always requested  or how to prevent them from being prompted for?</p>