{"action":"created","issue":{"url":"https://api.github.com/repos/yanzhenjie/AndPermission/issues/331","repository_url":"https://api.github.com/repos/yanzhenjie/AndPermission","labels_url":"https://api.github.com/repos/yanzhenjie/AndPermission/issues/331/labels{/name}","comments_url":"https://api.github.com/repos/yanzhenjie/AndPermission/issues/331/comments","events_url":"https://api.github.com/repos/yanzhenjie/AndPermission/issues/331/events","html_url":"https://github.com/yanzhenjie/AndPermission/issues/331","id":350302157,"node_id":"MDU6SXNzdWUzNTAzMDIxNTc=","number":331,"title":"联想K5手机 Api 22 StrictChecker有bug","user":{"login":"YoungBill","id":9884053,"node_id":"MDQ6VXNlcjk4ODQwNTM=","avatar_url":"https://avatars3.githubusercontent.com/u/9884053?v=4","gravatar_id":"","url":"https://api.github.com/users/YoungBill","html_url":"https://github.com/YoungBill","followers_url":"https://api.github.com/users/YoungBill/followers","following_url":"https://api.github.com/users/YoungBill/following{/other_user}","gists_url":"https://api.github.com/users/YoungBill/gists{/gist_id}","starred_url":"https://api.github.com/users/YoungBill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YoungBill/subscriptions","organizations_url":"https://api.github.com/users/YoungBill/orgs","repos_url":"https://api.github.com/users/YoungBill/repos","events_url":"https://api.github.com/users/YoungBill/events{/privacy}","received_events_url":"https://api.github.com/users/YoungBill/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-08-14T06:54:10Z","updated_at":"2018-08-23T11:41:00Z","closed_at":null,"author_association":"NONE","body":"我的K5手机，Api 22，request的权限是Camera．\r\n我们调试发现，PermissionRequest实例化的一个LRequest，LRequest里面直接检测权限，主要用的是StrictChecker．发现这样一个现象，在程序运行第一次的时候，StrictChecker检测Camera Granted，第二次检测Camera Denied，何解，我现在把LRequest里面的CHECKER改成了StandardChecker，在联想手机上可以用了．\r\n我觉得StrictChecker是有问题的，望修正．"},"comment":{"url":"https://api.github.com/repos/yanzhenjie/AndPermission/issues/comments/415385121","html_url":"https://github.com/yanzhenjie/AndPermission/issues/331#issuecomment-415385121","issue_url":"https://api.github.com/repos/yanzhenjie/AndPermission/issues/331","id":415385121,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTM4NTEyMQ==","user":{"login":"lizhiwei92","id":22723524,"node_id":"MDQ6VXNlcjIyNzIzNTI0","avatar_url":"https://avatars2.githubusercontent.com/u/22723524?v=4","gravatar_id":"","url":"https://api.github.com/users/lizhiwei92","html_url":"https://github.com/lizhiwei92","followers_url":"https://api.github.com/users/lizhiwei92/followers","following_url":"https://api.github.com/users/lizhiwei92/following{/other_user}","gists_url":"https://api.github.com/users/lizhiwei92/gists{/gist_id}","starred_url":"https://api.github.com/users/lizhiwei92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lizhiwei92/subscriptions","organizations_url":"https://api.github.com/users/lizhiwei92/orgs","repos_url":"https://api.github.com/users/lizhiwei92/repos","events_url":"https://api.github.com/users/lizhiwei92/events{/privacy}","received_events_url":"https://api.github.com/users/lizhiwei92/received_events","type":"User","site_admin":false},"created_at":"2018-08-23T11:41:00Z","updated_at":"2018-08-23T11:41:00Z","author_association":"NONE","body":"没有权限的时候是会报这个异常呀：java.lang.RuntimeException: Fail to connect to camera service\r\n个人觉得是这个值会变化 return !packageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA);"}}
{"actor":{"display_login":"lizhiwei92"}}