Hide permission popup in android M/N
Is there any way in Android M/N to hide the permission popup . I completely understands that Android M onwards it has a new security modal and it mandates run time permissions check for dangerous permissions. But I did not find anything related to hide/suppress the popup.
After reading the material on developer documentation(link below) I found that only normal permission can be pre granted by System without asking from user. But for others eg Camera, Network, Media files etc. we MUST get permission from user which I'm trying to avoid for better user experience.
https://developer.android.com/guide/topics/security/permissions.html#normal-dangerous
All I'm trying to understand that is there any way to create an app with higher privilege or make modification in AOSP or anything we can do to suppress the permission popup in Android M or N?
Any help would be appreciated. Thanks!
只有root权限。
Runtime.getRuntime().exec("su -c "pm grant com.example.app android.permission.ACCESS_FINE_LOCATION"");
链接地址: http://www.djcxy.com/p/85356.html
上一篇: 在android M +上获得已审核应用程序的权限
下一篇: 在Android M / N隐藏权限弹出