title: Android Studio add some permissions automatically?
body: <p>I have a weird question. I built my app on <strong>Android Studio</strong>. There is no problem however something take my attention.</p>
  
  <p>Even I didn't add <strong>WAKE_LOCK</strong> permission or related code, built apk contains WAKE_LOCK permission. I check manifest, gradle, java, xml... There is no code related with WAKE_LOCK.</p>
  
  <p>I suppose Android Studio add that permission automatically however how can it be possible and why?</p>
  
  <p>And I have an <strong>additional question</strong>. I didn't use any WAKE_LOCK code however will it still work? Will app keep device awake?</p>
  
  <p><strong>Manifest:</strong></p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
  &lt;uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /&gt;
  &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
  &lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /&gt;
  &lt;uses-permission android:name="com.android.vending.BILLING" /&gt;
  </code></pre>
  
  <p><strong>Gradle:</strong></p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 24
      buildToolsVersion "24.0.1"
  
      defaultConfig {
          applicationId "com.xyz.abc"
          minSdkVersion 10
          targetSdkVersion 24
          versionCode 27
          versionName "2.3"
      }
      buildTypes {
          release {
              minifyEnabled true
          }
      }
      lintOptions {
          disable "ResourceType"
      }
  }
  
  dependencies {
      compile 'com.android.support:appcompat-v7:24.1.1'
      compile 'com.google.android.gms:play-services-ads:9.2.1'
      compile 'com.google.android.gms:play-services-analytics:9.2.1'
      compile 'com.android.support:cardview-v7:24.1.1'
      compile 'com.android.support:recyclerview-v7:24.1.1'
      compile 'com.android.support:percent:24.1.1'
      compile 'jp.co.recruit_mp:android-RMP-Appirater:1.1.1'
  }
  </code></pre>
  
  <p>Edit: I checked my another app and Android Studio added WAKE_LOCK permission to that app also. Again, I didn't use anything about WAKE_LOCK.</p>