{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/anthonycr/Grant/pulls/4","id":49925796,"html_url":"https://github.com/anthonycr/Grant/pull/4","diff_url":"https://github.com/anthonycr/Grant/pull/4.diff","patch_url":"https://github.com/anthonycr/Grant/pull/4.patch","issue_url":"https://api.github.com/repos/anthonycr/Grant/issues/4","number":4,"state":"open","locked":false,"title":"remove redundant PermissionsResultAction object in mPendingActions list, fixed a wrong callback issue","user":{"login":"mengdd","id":3823345,"avatar_url":"https://avatars.githubusercontent.com/u/3823345?v=3","gravatar_id":"","url":"https://api.github.com/users/mengdd","html_url":"https://github.com/mengdd","followers_url":"https://api.github.com/users/mengdd/followers","following_url":"https://api.github.com/users/mengdd/following{/other_user}","gists_url":"https://api.github.com/users/mengdd/gists{/gist_id}","starred_url":"https://api.github.com/users/mengdd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mengdd/subscriptions","organizations_url":"https://api.github.com/users/mengdd/orgs","repos_url":"https://api.github.com/users/mengdd/repos","events_url":"https://api.github.com/users/mengdd/events{/privacy}","received_events_url":"https://api.github.com/users/mengdd/received_events","type":"User","site_admin":false},"body":"Hi, anthonycr\r\nI'm using your lib for the runtime permissions request. Thanks for you great work!\r\nI've found a issue when a permission is already granted, request another permission, the wrong callback method will be invoked.\r\n\r\nI added some codes in your sample to reproduce this issue and then I add my solution in your lib to fix it.\r\nNow it works well.\r\nI'd like you take a look and merge it. Thanks!\r\n","created_at":"2015-11-06T08:04:22Z","updated_at":"2015-11-06T08:04:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/anthonycr/Grant/pulls/4/commits","review_comments_url":"https://api.github.com/repos/anthonycr/Grant/pulls/4/comments","review_comment_url":"https://api.github.com/repos/anthonycr/Grant/pulls/comments{/number}","comments_url":"https://api.github.com/repos/anthonycr/Grant/issues/4/comments","statuses_url":"https://api.github.com/repos/anthonycr/Grant/statuses/926a7bb4be859e81626e84719b2f8faf821a268a","head":{"label":"mengdd:master","ref":"master","sha":"926a7bb4be859e81626e84719b2f8faf821a268a","user":{"login":"mengdd","id":3823345,"avatar_url":"https://avatars.githubusercontent.com/u/3823345?v=3","gravatar_id":"","url":"https://api.github.com/users/mengdd","html_url":"https://github.com/mengdd","followers_url":"https://api.github.com/users/mengdd/followers","following_url":"https://api.github.com/users/mengdd/following{/other_user}","gists_url":"https://api.github.com/users/mengdd/gists{/gist_id}","starred_url":"https://api.github.com/users/mengdd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mengdd/subscriptions","organizations_url":"https://api.github.com/users/mengdd/orgs","repos_url":"https://api.github.com/users/mengdd/repos","events_url":"https://api.github.com/users/mengdd/events{/privacy}","received_events_url":"https://api.github.com/users/mengdd/received_events","type":"User","site_admin":false},"repo":{"id":45601583,"name":"Grant","full_name":"mengdd/Grant","owner":{"login":"mengdd","id":3823345,"avatar_url":"https://avatars.githubusercontent.com/u/3823345?v=3","gravatar_id":"","url":"https://api.github.com/users/mengdd","html_url":"https://github.com/mengdd","followers_url":"https://api.github.com/users/mengdd/followers","following_url":"https://api.github.com/users/mengdd/following{/other_user}","gists_url":"https://api.github.com/users/mengdd/gists{/gist_id}","starred_url":"https://api.github.com/users/mengdd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mengdd/subscriptions","organizations_url":"https://api.github.com/users/mengdd/orgs","repos_url":"https://api.github.com/users/mengdd/repos","events_url":"https://api.github.com/users/mengdd/events{/privacy}","received_events_url":"https://api.github.com/users/mengdd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mengdd/Grant","description":"Simplifying Android Permissions","fork":true,"url":"https://api.github.com/repos/mengdd/Grant","forks_url":"https://api.github.com/repos/mengdd/Grant/forks","keys_url":"https://api.github.com/repos/mengdd/Grant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mengdd/Grant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mengdd/Grant/teams","hooks_url":"https://api.github.com/repos/mengdd/Grant/hooks","issue_events_url":"https://api.github.com/repos/mengdd/Grant/issues/events{/number}","events_url":"https://api.github.com/repos/mengdd/Grant/events","assignees_url":"https://api.github.com/repos/mengdd/Grant/assignees{/user}","branches_url":"https://api.github.com/repos/mengdd/Grant/branches{/branch}","tags_url":"https://api.github.com/repos/mengdd/Grant/tags","blobs_url":"https://api.github.com/repos/mengdd/Grant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mengdd/Grant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mengdd/Grant/git/refs{/sha}","trees_url":"https://api.github.com/repos/mengdd/Grant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mengdd/Grant/statuses/{sha}","languages_url":"https://api.github.com/repos/mengdd/Grant/languages","stargazers_url":"https://api.github.com/repos/mengdd/Grant/stargazers","contributors_url":"https://api.github.com/repos/mengdd/Grant/contributors","subscribers_url":"https://api.github.com/repos/mengdd/Grant/subscribers","subscription_url":"https://api.github.com/repos/mengdd/Grant/subscription","commits_url":"https://api.github.com/repos/mengdd/Grant/commits{/sha}","git_commits_url":"https://api.github.com/repos/mengdd/Grant/git/commits{/sha}","comments_url":"https://api.github.com/repos/mengdd/Grant/comments{/number}","issue_comment_url":"https://api.github.com/repos/mengdd/Grant/issues/comments{/number}","contents_url":"https://api.github.com/repos/mengdd/Grant/contents/{+path}","compare_url":"https://api.github.com/repos/mengdd/Grant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mengdd/Grant/merges","archive_url":"https://api.github.com/repos/mengdd/Grant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mengdd/Grant/downloads","issues_url":"https://api.github.com/repos/mengdd/Grant/issues{/number}","pulls_url":"https://api.github.com/repos/mengdd/Grant/pulls{/number}","milestones_url":"https://api.github.com/repos/mengdd/Grant/milestones{/number}","notifications_url":"https://api.github.com/repos/mengdd/Grant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mengdd/Grant/labels{/name}","releases_url":"https://api.github.com/repos/mengdd/Grant/releases{/id}","created_at":"2015-11-05T09:38:40Z","updated_at":"2015-11-05T09:38:41Z","pushed_at":"2015-11-06T07:58:40Z","git_url":"git://github.com/mengdd/Grant.git","ssh_url":"git@github.com:mengdd/Grant.git","clone_url":"https://github.com/mengdd/Grant.git","svn_url":"https://github.com/mengdd/Grant","homepage":null,"size":240,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"anthonycr:master","ref":"master","sha":"aca67c174e359bd947600f93924282704ce1851d","user":{"login":"anthonycr","id":1966779,"avatar_url":"https://avatars.githubusercontent.com/u/1966779?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonycr","html_url":"https://github.com/anthonycr","followers_url":"https://api.github.com/users/anthonycr/followers","following_url":"https://api.github.com/users/anthonycr/following{/other_user}","gists_url":"https://api.github.com/users/anthonycr/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonycr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonycr/subscriptions","organizations_url":"https://api.github.com/users/anthonycr/orgs","repos_url":"https://api.github.com/users/anthonycr/repos","events_url":"https://api.github.com/users/anthonycr/events{/privacy}","received_events_url":"https://api.github.com/users/anthonycr/received_events","type":"User","site_admin":false},"repo":{"id":44494946,"name":"Grant","full_name":"anthonycr/Grant","owner":{"login":"anthonycr","id":1966779,"avatar_url":"https://avatars.githubusercontent.com/u/1966779?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonycr","html_url":"https://github.com/anthonycr","followers_url":"https://api.github.com/users/anthonycr/followers","following_url":"https://api.github.com/users/anthonycr/following{/other_user}","gists_url":"https://api.github.com/users/anthonycr/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonycr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonycr/subscriptions","organizations_url":"https://api.github.com/users/anthonycr/orgs","repos_url":"https://api.github.com/users/anthonycr/repos","events_url":"https://api.github.com/users/anthonycr/events{/privacy}","received_events_url":"https://api.github.com/users/anthonycr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anthonycr/Grant","description":"Simplifying Android Permissions","fork":false,"url":"https://api.github.com/repos/anthonycr/Grant","forks_url":"https://api.github.com/repos/anthonycr/Grant/forks","keys_url":"https://api.github.com/repos/anthonycr/Grant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anthonycr/Grant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anthonycr/Grant/teams","hooks_url":"https://api.github.com/repos/anthonycr/Grant/hooks","issue_events_url":"https://api.github.com/repos/anthonycr/Grant/issues/events{/number}","events_url":"https://api.github.com/repos/anthonycr/Grant/events","assignees_url":"https://api.github.com/repos/anthonycr/Grant/assignees{/user}","branches_url":"https://api.github.com/repos/anthonycr/Grant/branches{/branch}","tags_url":"https://api.github.com/repos/anthonycr/Grant/tags","blobs_url":"https://api.github.com/repos/anthonycr/Grant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anthonycr/Grant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anthonycr/Grant/git/refs{/sha}","trees_url":"https://api.github.com/repos/anthonycr/Grant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anthonycr/Grant/statuses/{sha}","languages_url":"https://api.github.com/repos/anthonycr/Grant/languages","stargazers_url":"https://api.github.com/repos/anthonycr/Grant/stargazers","contributors_url":"https://api.github.com/repos/anthonycr/Grant/contributors","subscribers_url":"https://api.github.com/repos/anthonycr/Grant/subscribers","subscription_url":"https://api.github.com/repos/anthonycr/Grant/subscription","commits_url":"https://api.github.com/repos/anthonycr/Grant/commits{/sha}","git_commits_url":"https://api.github.com/repos/anthonycr/Grant/git/commits{/sha}","comments_url":"https://api.github.com/repos/anthonycr/Grant/comments{/number}","issue_comment_url":"https://api.github.com/repos/anthonycr/Grant/issues/comments{/number}","contents_url":"https://api.github.com/repos/anthonycr/Grant/contents/{+path}","compare_url":"https://api.github.com/repos/anthonycr/Grant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anthonycr/Grant/merges","archive_url":"https://api.github.com/repos/anthonycr/Grant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anthonycr/Grant/downloads","issues_url":"https://api.github.com/repos/anthonycr/Grant/issues{/number}","pulls_url":"https://api.github.com/repos/anthonycr/Grant/pulls{/number}","milestones_url":"https://api.github.com/repos/anthonycr/Grant/milestones{/number}","notifications_url":"https://api.github.com/repos/anthonycr/Grant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anthonycr/Grant/labels{/name}","releases_url":"https://api.github.com/repos/anthonycr/Grant/releases{/id}","created_at":"2015-10-18T20:21:45Z","updated_at":"2015-11-05T10:15:12Z","pushed_at":"2015-11-04T01:15:13Z","git_url":"git://github.com/anthonycr/Grant.git","ssh_url":"git@github.com:anthonycr/Grant.git","clone_url":"https://github.com/anthonycr/Grant.git","svn_url":"https://github.com/anthonycr/Grant","homepage":null,"size":240,"stargazers_count":71,"watchers_count":71,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":71,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/anthonycr/Grant/pulls/4"},"html":{"href":"https://github.com/anthonycr/Grant/pull/4"},"issue":{"href":"https://api.github.com/repos/anthonycr/Grant/issues/4"},"comments":{"href":"https://api.github.com/repos/anthonycr/Grant/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/anthonycr/Grant/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/anthonycr/Grant/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/anthonycr/Grant/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/anthonycr/Grant/statuses/926a7bb4be859e81626e84719b2f8faf821a268a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":169,"deletions":44,"changed_files":6}}