{"action":"opened","number":31,"pull_request":{"url":"https://api.github.com/repos/jaiselrahman/FilePicker/pulls/31","id":272950667,"node_id":"MDExOlB1bGxSZXF1ZXN0MjcyOTUwNjY3","html_url":"https://github.com/jaiselrahman/FilePicker/pull/31","diff_url":"https://github.com/jaiselrahman/FilePicker/pull/31.diff","patch_url":"https://github.com/jaiselrahman/FilePicker/pull/31.patch","issue_url":"https://api.github.com/repos/jaiselrahman/FilePicker/issues/31","number":31,"state":"open","locked":false,"title":"Fix crash when permission manually close","user":{"login":"j796160836","id":686478,"node_id":"MDQ6VXNlcjY4NjQ3OA==","avatar_url":"https://avatars1.githubusercontent.com/u/686478?v=4","gravatar_id":"","url":"https://api.github.com/users/j796160836","html_url":"https://github.com/j796160836","followers_url":"https://api.github.com/users/j796160836/followers","following_url":"https://api.github.com/users/j796160836/following{/other_user}","gists_url":"https://api.github.com/users/j796160836/gists{/gist_id}","starred_url":"https://api.github.com/users/j796160836/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j796160836/subscriptions","organizations_url":"https://api.github.com/users/j796160836/orgs","repos_url":"https://api.github.com/users/j796160836/repos","events_url":"https://api.github.com/users/j796160836/events{/privacy}","received_events_url":"https://api.github.com/users/j796160836/received_events","type":"User","site_admin":false},"body":"<!--- Template based on https://www.talater.com/open-source-templates/#/ -->\r\n\r\n<!--- Provide a general summary of your changes in the Title above -->\r\n\r\n## Description\r\nFix issue #30. \r\n\r\n## Motivation and Context\r\nRemove `if (savedInstanceState == null) { ... }`\r\nLet permission checking goes to prevent no permissions situation.\r\n\r\n## How Has This Been Tested?\r\nManually tested.\r\n\r\n## Screenshots (if appropriate):\r\n\r\n## Types of changes\r\n- [x] Bug fix (non-breaking change which fixes an issue)\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist:\r\n- [x] My code follows the code style of this project.\r\n- [ ] My change requires a change to the documentation.\r\n- [ ] I have updated the documentation accordingly.\r\n","created_at":"2019-04-24T02:11:04Z","updated_at":"2019-04-24T02:11:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jaiselrahman/FilePicker/pulls/31/commits","review_comments_url":"https://api.github.com/repos/jaiselrahman/FilePicker/pulls/31/comments","review_comment_url":"https://api.github.com/repos/jaiselrahman/FilePicker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jaiselrahman/FilePicker/issues/31/comments","statuses_url":"https://api.github.com/repos/jaiselrahman/FilePicker/statuses/6c9e57afb764fc7c6a0a454797d4a91e83390277","head":{"label":"j796160836:issue_30","ref":"issue_30","sha":"6c9e57afb764fc7c6a0a454797d4a91e83390277","user":{"login":"j796160836","id":686478,"node_id":"MDQ6VXNlcjY4NjQ3OA==","avatar_url":"https://avatars1.githubusercontent.com/u/686478?v=4","gravatar_id":"","url":"https://api.github.com/users/j796160836","html_url":"https://github.com/j796160836","followers_url":"https://api.github.com/users/j796160836/followers","following_url":"https://api.github.com/users/j796160836/following{/other_user}","gists_url":"https://api.github.com/users/j796160836/gists{/gist_id}","starred_url":"https://api.github.com/users/j796160836/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j796160836/subscriptions","organizations_url":"https://api.github.com/users/j796160836/orgs","repos_url":"https://api.github.com/users/j796160836/repos","events_url":"https://api.github.com/users/j796160836/events{/privacy}","received_events_url":"https://api.github.com/users/j796160836/received_events","type":"User","site_admin":false},"repo":{"id":182979178,"node_id":"MDEwOlJlcG9zaXRvcnkxODI5NzkxNzg=","name":"FilePicker","full_name":"j796160836/FilePicker","private":false,"owner":{"login":"j796160836","id":686478,"node_id":"MDQ6VXNlcjY4NjQ3OA==","avatar_url":"https://avatars1.githubusercontent.com/u/686478?v=4","gravatar_id":"","url":"https://api.github.com/users/j796160836","html_url":"https://github.com/j796160836","followers_url":"https://api.github.com/users/j796160836/followers","following_url":"https://api.github.com/users/j796160836/following{/other_user}","gists_url":"https://api.github.com/users/j796160836/gists{/gist_id}","starred_url":"https://api.github.com/users/j796160836/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j796160836/subscriptions","organizations_url":"https://api.github.com/users/j796160836/orgs","repos_url":"https://api.github.com/users/j796160836/repos","events_url":"https://api.github.com/users/j796160836/events{/privacy}","received_events_url":"https://api.github.com/users/j796160836/received_events","type":"User","site_admin":false},"html_url":"https://github.com/j796160836/FilePicker","description":"FilePicker library for Android","fork":true,"url":"https://api.github.com/repos/j796160836/FilePicker","forks_url":"https://api.github.com/repos/j796160836/FilePicker/forks","keys_url":"https://api.github.com/repos/j796160836/FilePicker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/j796160836/FilePicker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/j796160836/FilePicker/teams","hooks_url":"https://api.github.com/repos/j796160836/FilePicker/hooks","issue_events_url":"https://api.github.com/repos/j796160836/FilePicker/issues/events{/number}","events_url":"https://api.github.com/repos/j796160836/FilePicker/events","assignees_url":"https://api.github.com/repos/j796160836/FilePicker/assignees{/user}","branches_url":"https://api.github.com/repos/j796160836/FilePicker/branches{/branch}","tags_url":"https://api.github.com/repos/j796160836/FilePicker/tags","blobs_url":"https://api.github.com/repos/j796160836/FilePicker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/j796160836/FilePicker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/j796160836/FilePicker/git/refs{/sha}","trees_url":"https://api.github.com/repos/j796160836/FilePicker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/j796160836/FilePicker/statuses/{sha}","languages_url":"https://api.github.com/repos/j796160836/FilePicker/languages","stargazers_url":"https://api.github.com/repos/j796160836/FilePicker/stargazers","contributors_url":"https://api.github.com/repos/j796160836/FilePicker/contributors","subscribers_url":"https://api.github.com/repos/j796160836/FilePicker/subscribers","subscription_url":"https://api.github.com/repos/j796160836/FilePicker/subscription","commits_url":"https://api.github.com/repos/j796160836/FilePicker/commits{/sha}","git_commits_url":"https://api.github.com/repos/j796160836/FilePicker/git/commits{/sha}","comments_url":"https://api.github.com/repos/j796160836/FilePicker/comments{/number}","issue_comment_url":"https://api.github.com/repos/j796160836/FilePicker/issues/comments{/number}","contents_url":"https://api.github.com/repos/j796160836/FilePicker/contents/{+path}","compare_url":"https://api.github.com/repos/j796160836/FilePicker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/j796160836/FilePicker/merges","archive_url":"https://api.github.com/repos/j796160836/FilePicker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/j796160836/FilePicker/downloads","issues_url":"https://api.github.com/repos/j796160836/FilePicker/issues{/number}","pulls_url":"https://api.github.com/repos/j796160836/FilePicker/pulls{/number}","milestones_url":"https://api.github.com/repos/j796160836/FilePicker/milestones{/number}","notifications_url":"https://api.github.com/repos/j796160836/FilePicker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/j796160836/FilePicker/labels{/name}","releases_url":"https://api.github.com/repos/j796160836/FilePicker/releases{/id}","deployments_url":"https://api.github.com/repos/j796160836/FilePicker/deployments","created_at":"2019-04-23T09:18:13Z","updated_at":"2019-04-23T09:18:15Z","pushed_at":"2019-04-24T02:06:26Z","git_url":"git://github.com/j796160836/FilePicker.git","ssh_url":"git@github.com:j796160836/FilePicker.git","clone_url":"https://github.com/j796160836/FilePicker.git","svn_url":"https://github.com/j796160836/FilePicker","homepage":null,"size":5323,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jaiselrahman:master","ref":"master","sha":"2e557b82d3c925ad7cbe5d80f4cad55b751d3c3f","user":{"login":"jaiselrahman","id":13470226,"node_id":"MDQ6VXNlcjEzNDcwMjI2","avatar_url":"https://avatars3.githubusercontent.com/u/13470226?v=4","gravatar_id":"","url":"https://api.github.com/users/jaiselrahman","html_url":"https://github.com/jaiselrahman","followers_url":"https://api.github.com/users/jaiselrahman/followers","following_url":"https://api.github.com/users/jaiselrahman/following{/other_user}","gists_url":"https://api.github.com/users/jaiselrahman/gists{/gist_id}","starred_url":"https://api.github.com/users/jaiselrahman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaiselrahman/subscriptions","organizations_url":"https://api.github.com/users/jaiselrahman/orgs","repos_url":"https://api.github.com/users/jaiselrahman/repos","events_url":"https://api.github.com/users/jaiselrahman/events{/privacy}","received_events_url":"https://api.github.com/users/jaiselrahman/received_events","type":"User","site_admin":false},"repo":{"id":136825046,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY4MjUwNDY=","name":"FilePicker","full_name":"jaiselrahman/FilePicker","private":false,"owner":{"login":"jaiselrahman","id":13470226,"node_id":"MDQ6VXNlcjEzNDcwMjI2","avatar_url":"https://avatars3.githubusercontent.com/u/13470226?v=4","gravatar_id":"","url":"https://api.github.com/users/jaiselrahman","html_url":"https://github.com/jaiselrahman","followers_url":"https://api.github.com/users/jaiselrahman/followers","following_url":"https://api.github.com/users/jaiselrahman/following{/other_user}","gists_url":"https://api.github.com/users/jaiselrahman/gists{/gist_id}","starred_url":"https://api.github.com/users/jaiselrahman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaiselrahman/subscriptions","organizations_url":"https://api.github.com/users/jaiselrahman/orgs","repos_url":"https://api.github.com/users/jaiselrahman/repos","events_url":"https://api.github.com/users/jaiselrahman/events{/privacy}","received_events_url":"https://api.github.com/users/jaiselrahman/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jaiselrahman/FilePicker","description":"FilePicker library for Android","fork":false,"url":"https://api.github.com/repos/jaiselrahman/FilePicker","forks_url":"https://api.github.com/repos/jaiselrahman/FilePicker/forks","keys_url":"https://api.github.com/repos/jaiselrahman/FilePicker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jaiselrahman/FilePicker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jaiselrahman/FilePicker/teams","hooks_url":"https://api.github.com/repos/jaiselrahman/FilePicker/hooks","issue_events_url":"https://api.github.com/repos/jaiselrahman/FilePicker/issues/events{/number}","events_url":"https://api.github.com/repos/jaiselrahman/FilePicker/events","assignees_url":"https://api.github.com/repos/jaiselrahman/FilePicker/assignees{/user}","branches_url":"https://api.github.com/repos/jaiselrahman/FilePicker/branches{/branch}","tags_url":"https://api.github.com/repos/jaiselrahman/FilePicker/tags","blobs_url":"https://api.github.com/repos/jaiselrahman/FilePicker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jaiselrahman/FilePicker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jaiselrahman/FilePicker/git/refs{/sha}","trees_url":"https://api.github.com/repos/jaiselrahman/FilePicker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jaiselrahman/FilePicker/statuses/{sha}","languages_url":"https://api.github.com/repos/jaiselrahman/FilePicker/languages","stargazers_url":"https://api.github.com/repos/jaiselrahman/FilePicker/stargazers","contributors_url":"https://api.github.com/repos/jaiselrahman/FilePicker/contributors","subscribers_url":"https://api.github.com/repos/jaiselrahman/FilePicker/subscribers","subscription_url":"https://api.github.com/repos/jaiselrahman/FilePicker/subscription","commits_url":"https://api.github.com/repos/jaiselrahman/FilePicker/commits{/sha}","git_commits_url":"https://api.github.com/repos/jaiselrahman/FilePicker/git/commits{/sha}","comments_url":"https://api.github.com/repos/jaiselrahman/FilePicker/comments{/number}","issue_comment_url":"https://api.github.com/repos/jaiselrahman/FilePicker/issues/comments{/number}","contents_url":"https://api.github.com/repos/jaiselrahman/FilePicker/contents/{+path}","compare_url":"https://api.github.com/repos/jaiselrahman/FilePicker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jaiselrahman/FilePicker/merges","archive_url":"https://api.github.com/repos/jaiselrahman/FilePicker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jaiselrahman/FilePicker/downloads","issues_url":"https://api.github.com/repos/jaiselrahman/FilePicker/issues{/number}","pulls_url":"https://api.github.com/repos/jaiselrahman/FilePicker/pulls{/number}","milestones_url":"https://api.github.com/repos/jaiselrahman/FilePicker/milestones{/number}","notifications_url":"https://api.github.com/repos/jaiselrahman/FilePicker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jaiselrahman/FilePicker/labels{/name}","releases_url":"https://api.github.com/repos/jaiselrahman/FilePicker/releases{/id}","deployments_url":"https://api.github.com/repos/jaiselrahman/FilePicker/deployments","created_at":"2018-06-10T16:21:59Z","updated_at":"2019-04-23T01:38:04Z","pushed_at":"2019-04-24T02:11:05Z","git_url":"git://github.com/jaiselrahman/FilePicker.git","ssh_url":"git@github.com:jaiselrahman/FilePicker.git","clone_url":"https://github.com/jaiselrahman/FilePicker.git","svn_url":"https://github.com/jaiselrahman/FilePicker","homepage":null,"size":5318,"stargazers_count":68,"watchers_count":68,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":12,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":15,"open_issues":12,"watchers":68,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jaiselrahman/FilePicker/pulls/31"},"html":{"href":"https://github.com/jaiselrahman/FilePicker/pull/31"},"issue":{"href":"https://api.github.com/repos/jaiselrahman/FilePicker/issues/31"},"comments":{"href":"https://api.github.com/repos/jaiselrahman/FilePicker/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/jaiselrahman/FilePicker/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/jaiselrahman/FilePicker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jaiselrahman/FilePicker/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/jaiselrahman/FilePicker/statuses/6c9e57afb764fc7c6a0a454797d4a91e83390277"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":5,"changed_files":1}}
{"actor":{"display_login":"j796160836"}}