title: Why is my app asking for phone id permission?
body: <p>In my manifest I only ask for these two permissions:</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
  &lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /&gt;
  </code></pre>
  
  <p>But when I install the app on my phone I also get this notice:</p>
  
  <pre><code>Low-risk permissions
  Phone ID
  Get your phone ID, including IMEI, IMSI, etc.
  </code></pre>
  
  <p>From what I gather from <a href="https://stackoverflow.com/a/2853253/3681880">this SO answer</a>, I should need to use <code>TelephonyManager</code> and call </p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.READ_PHONE_STATE" /&gt;
  </code></pre>
  
  <p>to require this permission. But I'm not using TelephonyManager or calling that permission. I don't want to ask users to give this permission. I've looked through my manifest and gradle files. Could it be that some code I used triggered this permission being called without me specifically asking for it? I know I'm not giving you a lot to go on, by I don't know where else to look.</p>
  
  <p><strong>Update 1</strong></p>
  
  <p>I created a completely new project in Android Studio and generated a signed APK from it. I installed it but no permissions were asked. (That at least confirmed for me that it wasn't some "new feature" in Android Studio that automatically asked for this permission.)</p>
  
  <p><strong>Update 2</strong></p>
  
  <p>As of @antonio's answer I found <code>app/build/outputs/logs/manifest-merger-release-report.txt</code> However, I didn't find any implied permissions being requested.</p>
  
  <p><strong>Update 3</strong></p>
  
  <p>Here are the dependencies my app is using (from gradle.build):</p>
  
  <pre><code>dependencies {
      compile 'com.android.support:support-v4:21.0.3'
      compile 'com.readystatesoftware.sqliteasset:sqliteassethelper:+'
  }
  </code></pre>
  
  <p>I tested a new application with both of these dependencies and no permissions were requested.</p>
  
  <p>My next step is to add every activity again from scratch and see if I can find where this permission starts getting called. To be continued...</p>
  
  <p><strong>Update 4</strong></p>
  
  <p>I played around with copying everything to a new project and refactoring the project name and removing pieces, but it turned out to be quite complex. I wasn't able to isolate a reason.</p>
  
  <p><strong>Update 5</strong></p>
  
  <p>I set the targetSdkVersion to 1. This gives a new message when announcing permissions before installing the app:</p>
  
  <blockquote>
    <p><strong>read phone status and identity</strong></p>
    
    <p>Allows the app to access the phone features of the device. This
    permission allows the app to determine the phone number and device
    IDs, whether the call is active, and the remote number connected by a
    call.</p>
  </blockquote>
  
  <p>The old Phone ID permission notice that I wrote about at the beginning is still there (showing up after the app is installed). This makes me wonder if it is related to the OS (I'm using MIUI Android on a Xiaomi phone). There is still something about the app that causes this to display in this app but not in other apps. I need to test this out on other devices next.</p>