page.tags="RuntimePermissions" sample.group=System @jd:body
This sample shows runtime permissions available in Android M and above. Display the log on screen to follow the execution. If executed on an Android M device, an additional option to access contacts is shown that is declared with optional, M and above only permissions.