{"action":"created","issue":{"url":"https://api.github.com/repos/yanzhenjie/AndPermission/issues/153","repository_url":"https://api.github.com/repos/yanzhenjie/AndPermission","labels_url":"https://api.github.com/repos/yanzhenjie/AndPermission/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/yanzhenjie/AndPermission/issues/153/comments","events_url":"https://api.github.com/repos/yanzhenjie/AndPermission/issues/153/events","html_url":"https://github.com/yanzhenjie/AndPermission/issues/153","id":292730837,"number":153,"title":"PermissionTest.java 游标越界,导致判断有误","user":{"login":"leonzone","id":12285439,"avatar_url":"https://avatars3.githubusercontent.com/u/12285439?v=4","gravatar_id":"","url":"https://api.github.com/users/leonzone","html_url":"https://github.com/leonzone","followers_url":"https://api.github.com/users/leonzone/followers","following_url":"https://api.github.com/users/leonzone/following{/other_user}","gists_url":"https://api.github.com/users/leonzone/gists{/gist_id}","starred_url":"https://api.github.com/users/leonzone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonzone/subscriptions","organizations_url":"https://api.github.com/users/leonzone/orgs","repos_url":"https://api.github.com/users/leonzone/repos","events_url":"https://api.github.com/users/leonzone/events{/privacy}","received_events_url":"https://api.github.com/users/leonzone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-01-30T10:31:43Z","updated_at":"2018-02-01T04:30:46Z","closed_at":null,"author_association":"NONE","body":"31行代码 int type = cursor.getType(0);报Index -1 requested, with a size of Xxx错误\r\n\r\n原因是因为调用getCount方法后，cursor就游到表的末尾了，需要调用一下cursor的moveToFirst，将游标重新挪到表的首位\r\n"},"comment":{"url":"https://api.github.com/repos/yanzhenjie/AndPermission/issues/comments/362155342","html_url":"https://github.com/yanzhenjie/AndPermission/issues/153#issuecomment-362155342","issue_url":"https://api.github.com/repos/yanzhenjie/AndPermission/issues/153","id":362155342,"user":{"login":"leonzone","id":12285439,"avatar_url":"https://avatars3.githubusercontent.com/u/12285439?v=4","gravatar_id":"","url":"https://api.github.com/users/leonzone","html_url":"https://github.com/leonzone","followers_url":"https://api.github.com/users/leonzone/followers","following_url":"https://api.github.com/users/leonzone/following{/other_user}","gists_url":"https://api.github.com/users/leonzone/gists{/gist_id}","starred_url":"https://api.github.com/users/leonzone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonzone/subscriptions","organizations_url":"https://api.github.com/users/leonzone/orgs","repos_url":"https://api.github.com/users/leonzone/repos","events_url":"https://api.github.com/users/leonzone/events{/privacy}","received_events_url":"https://api.github.com/users/leonzone/received_events","type":"User","site_admin":false},"created_at":"2018-02-01T04:30:46Z","updated_at":"2018-02-01T04:30:46Z","author_association":"NONE","body":"1.手机:坚果\r\n2.Android系统的版本:5.1.1\r\n3.是什么权限？Permission.READ_CALL_LOG\r\n4.场景:同意了权限,可回调走了onDenied"}}
{"actor":{"display_login":"leonzone"}}