yanzhenjie / AndPermission

:strawberry: Permissions manager for Android platform.
https://yanzhenjie.com/AndPermission
Apache License 2.0
6.63k stars 1.1k forks source link

AddVoicemailTest can not right test ,becasuse uri permission denyied #460

Closed xiaowei1992 closed 5 years ago

yanzhenjie commented 5 years ago

Doesn't this just indicate that there is no permission?

xiaowei1992 commented 5 years ago

i have already refused the phone permission and then reopen it by system ,but it still notice me that add_voicemail permission is refresed, this is the exception of AddVoicemailTest: Permission Denial: writing com.android.providers.contacts.VoicemailContentProvider uri content://com.android.voicemail/voicemail from pid=11648, uid=10565 requires com.android.voicemail.permission.ADD_VOICEMAIL, or grantUriPermission()

------------------ 原始邮件 ------------------ 发件人: "Zhenjie Yan"notifications@github.com; 发送时间: 2019年7月8日(星期一) 下午4:30 收件人: "yanzhenjie/AndPermission"AndPermission@noreply.github.com; 抄送: "vg"869660910@qq.com; "Author"author@noreply.github.com; 主题: Re: [yanzhenjie/AndPermission] AddVoicemailTest can not right test,becasuse uri permission denyied (#460)

Doesn't this just indicate that there is no permission?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

yanzhenjie commented 5 years ago

After you have given permission, you don't actually have this permission. This shows that the system does not allow you to have this permission, I also found this situation, this is not a problem with AndPermission.

xiaowei1992 commented 5 years ago

ok, thank you !

------------------ 原始邮件 ------------------ 发件人: "Zhenjie Yan"notifications@github.com; 发送时间: 2019年7月8日(星期一) 下午4:51 收件人: "yanzhenjie/AndPermission"AndPermission@noreply.github.com; 抄送: "vg"869660910@qq.com; "Author"author@noreply.github.com; 主题: Re: [yanzhenjie/AndPermission] AddVoicemailTest can not right test,becasuse uri permission denyied (#460)

After you have given permission, you don't actually have this permission. This shows that the system does not allow you to have this permission, I also found this situation, this is not a problem with AndPermission.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.