Android 6 revoked permissions checked as granted
问题 Got a problem hat I'm not sure is a bug or not. If the user grants a permission and then subsequently revokes it, it appears that checkSelfPermission returns GRANTED on the revoked permission. e.g. it appears that after revoking permission.CAMERA: true == ActivityCompat.checkSelfPermission(context, permission.CAMERA) == PackageManager.PERMISSION_GRANTED The only way i seem to find out that camera was revoked is by an exception: 10-20 14:25:54.330: E/AndroidRuntime(13954): java.lang