My SMS App uses several dangerous permissions like Send SMS, Read Contacts etc and I am trying to test new permission system for android 6.0 But when I install it on Android 6.0 device, it has already granted those permissions without asking at run time. Why is this? I have uninstalled and installed it fresh too, but same result.
Note: I can see permission dialog at run time when app tries to access camera. But not for SMS, Location or Phone related permissions which are categorized as dangerous too.
Any clue why is this happening?
Edit: My targetSdkVersion is 23
targetSdkVersion
? – CommonsWaretargetSdkVersion
is 23 – Riz