Beginning in Android 6.0 (API level 23), If your app lists a normal permission in its manifest, the system grants the permission automatically. If you list a dangerous permission, the user has to explicitly give approval to your app.
Sample source code: http://kializer.com/1e97