title: Android permissions - Manifest or android.manifest
body: <p>I begin development with Android. I use SDK 23 with Android M permissions's system.
  On internet'examples, when I want to checkPermission, I found :</p>
  
  <pre><code>this.checkSelfPermission(Manifest.permission.READ_CONTACTS)
  </code></pre>
  
  <p>But It doesn't work for me. I need to write :</p>
  
  <pre><code>this.checkSelfPermission(android.manifest.permission.READ_CONTACTS)
  </code></pre>
  
  <p>I would like to know the difference and why it doesn't work.</p>
  
  <p>If it could help, this is my Manifest file (only permissions):</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.SEND_SMS" /&gt;
      &lt;uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /&gt;
      &lt;uses-permission android:name="android.permission.READ_CONTACTS" /&gt;
      &lt;uses-permission android:name="android.permission.READ_SMS" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_SMS" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_CONTACTS" /&gt;
      &lt;uses-permission android:name="android.permission.CAMERA" /&gt;
      &lt;uses-permission android:name="android.permission.VIBRATE" /&gt;
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.CALL_PHONE" /&gt;
      &lt;uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.READ_PHONE_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
      &lt;uses-permission android:name="android.permission.GET_ACCOUNTS" /&gt;
      &lt;uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /&gt;
      &lt;uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /&gt;
      &lt;uses-permission android:name="android.permission.RECEIVE_SMS" /&gt;
  </code></pre>
  
  <p>Thank you</p>