This doc by google lists the permissions groups under android M:
https://developer.android.com/preview/features/runtime-permissions.html
And this doc links permissions in Android with their permission group:
https://github.com/android/platform_frameworks_base/blob/master/core/res/AndroidManifest.xml
Now, not all the permissions that existed pre-M exist post-M, which leads to the question: what happens to these permissions after M comes out?
For example, USE_CREDENTIALS belongs to the ACCOUNT permissions group - but under M neither the permission nor the group exist. So what happens to an app that was using that permission? Does it still work fine? Do I need to ask for a different permission instead? Must I change my manifest at all for these unlisted permissions or are all the unlisted permissions supported by default post-M?