DoubangoTelecom / imsdroid

High Quality Video SIP/IMS client for Google Android
https://doubango.org
Other
296 stars 169 forks source link

When using targetSdkVersion=23, the system will no longer grant permissions at installation time #569

Open DoubangoTelecom opened 8 years ago

DoubangoTelecom commented 8 years ago

When using targetSdkVersion=23, the system will no longer grant permissions at installation time but single permissions can be granted or revoked by the user at any time after installation. With this new feature the app needs to manage runtime permissions every time a permission is used. For example every time a new audio capture is started, a class needs to check if android.permission.RECORD_AUDIO has been granted and if not, it has to request the user the permission (see https://developer.android.com/intl/ja/training/permissions/requesting.html ).