{"action":"opened","number":35,"pull_request":{"url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/pulls/35","id":131397870,"html_url":"https://github.com/angelgladin/Photo_Exif_Toolkit/pull/35","diff_url":"https://github.com/angelgladin/Photo_Exif_Toolkit/pull/35.diff","patch_url":"https://github.com/angelgladin/Photo_Exif_Toolkit/pull/35.patch","issue_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/issues/35","number":35,"state":"open","locked":false,"title":"NPE fix","user":{"login":"niazarak","id":14030993,"avatar_url":"https://avatars3.githubusercontent.com/u/14030993?v=4","gravatar_id":"","url":"https://api.github.com/users/niazarak","html_url":"https://github.com/niazarak","followers_url":"https://api.github.com/users/niazarak/followers","following_url":"https://api.github.com/users/niazarak/following{/other_user}","gists_url":"https://api.github.com/users/niazarak/gists{/gist_id}","starred_url":"https://api.github.com/users/niazarak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niazarak/subscriptions","organizations_url":"https://api.github.com/users/niazarak/orgs","repos_url":"https://api.github.com/users/niazarak/repos","events_url":"https://api.github.com/users/niazarak/events{/privacy}","received_events_url":"https://api.github.com/users/niazarak/received_events","type":"User","site_admin":false},"body":"Tried to run this app on my XIaomi device (6.0.1), got an exception when opening an image from gallery.\r\nFigured out that `ContentResolver` was returning null `Cursor`, on which you call `moveToFirst`.\r\nAs you want to get the path of the image with that extension, it is unclear for me why don't you use `Uri.encodedPath`. That basically fixes my problem. Thus extension becomes unused and can be removed.","created_at":"2017-07-19T19:12:30Z","updated_at":"2017-07-19T19:12:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/pulls/35/commits","review_comments_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/pulls/35/comments","review_comment_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/issues/35/comments","statuses_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/statuses/bbe9b75cb34d4bd0f9b921f4270cd1bd30c1c780","head":{"label":"niazarak:master","ref":"master","sha":"bbe9b75cb34d4bd0f9b921f4270cd1bd30c1c780","user":{"login":"niazarak","id":14030993,"avatar_url":"https://avatars3.githubusercontent.com/u/14030993?v=4","gravatar_id":"","url":"https://api.github.com/users/niazarak","html_url":"https://github.com/niazarak","followers_url":"https://api.github.com/users/niazarak/followers","following_url":"https://api.github.com/users/niazarak/following{/other_user}","gists_url":"https://api.github.com/users/niazarak/gists{/gist_id}","starred_url":"https://api.github.com/users/niazarak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niazarak/subscriptions","organizations_url":"https://api.github.com/users/niazarak/orgs","repos_url":"https://api.github.com/users/niazarak/repos","events_url":"https://api.github.com/users/niazarak/events{/privacy}","received_events_url":"https://api.github.com/users/niazarak/received_events","type":"User","site_admin":false},"repo":{"id":97750568,"name":"Photo_Exif_Toolkit","full_name":"niazarak/Photo_Exif_Toolkit","owner":{"login":"niazarak","id":14030993,"avatar_url":"https://avatars3.githubusercontent.com/u/14030993?v=4","gravatar_id":"","url":"https://api.github.com/users/niazarak","html_url":"https://github.com/niazarak","followers_url":"https://api.github.com/users/niazarak/followers","following_url":"https://api.github.com/users/niazarak/following{/other_user}","gists_url":"https://api.github.com/users/niazarak/gists{/gist_id}","starred_url":"https://api.github.com/users/niazarak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niazarak/subscriptions","organizations_url":"https://api.github.com/users/niazarak/orgs","repos_url":"https://api.github.com/users/niazarak/repos","events_url":"https://api.github.com/users/niazarak/events{/privacy}","received_events_url":"https://api.github.com/users/niazarak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/niazarak/Photo_Exif_Toolkit","description":"Photo Exif Toolkit Android app entirely written using Kotlin language","fork":true,"url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit","forks_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/forks","keys_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/teams","hooks_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/hooks","issue_events_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/issues/events{/number}","events_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/events","assignees_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/assignees{/user}","branches_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/branches{/branch}","tags_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/tags","blobs_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/languages","stargazers_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/stargazers","contributors_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/contributors","subscribers_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/subscribers","subscription_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/subscription","commits_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/contents/{+path}","compare_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/merges","archive_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/downloads","issues_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/issues{/number}","pulls_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/labels{/name}","releases_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/releases{/id}","deployments_url":"https://api.github.com/repos/niazarak/Photo_Exif_Toolkit/deployments","created_at":"2017-07-19T18:49:44Z","updated_at":"2017-07-19T18:49:46Z","pushed_at":"2017-07-19T19:01:36Z","git_url":"git://github.com/niazarak/Photo_Exif_Toolkit.git","ssh_url":"git@github.com:niazarak/Photo_Exif_Toolkit.git","clone_url":"https://github.com/niazarak/Photo_Exif_Toolkit.git","svn_url":"https://github.com/niazarak/Photo_Exif_Toolkit","homepage":"","size":12250,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":false,"has_projects":true,"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":"angelgladin:master","ref":"master","sha":"0098f685de0435ebef1cc855fd5fe8f24a978354","user":{"login":"angelgladin","id":11308292,"avatar_url":"https://avatars0.githubusercontent.com/u/11308292?v=4","gravatar_id":"","url":"https://api.github.com/users/angelgladin","html_url":"https://github.com/angelgladin","followers_url":"https://api.github.com/users/angelgladin/followers","following_url":"https://api.github.com/users/angelgladin/following{/other_user}","gists_url":"https://api.github.com/users/angelgladin/gists{/gist_id}","starred_url":"https://api.github.com/users/angelgladin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angelgladin/subscriptions","organizations_url":"https://api.github.com/users/angelgladin/orgs","repos_url":"https://api.github.com/users/angelgladin/repos","events_url":"https://api.github.com/users/angelgladin/events{/privacy}","received_events_url":"https://api.github.com/users/angelgladin/received_events","type":"User","site_admin":false},"repo":{"id":77085708,"name":"Photo_Exif_Toolkit","full_name":"angelgladin/Photo_Exif_Toolkit","owner":{"login":"angelgladin","id":11308292,"avatar_url":"https://avatars0.githubusercontent.com/u/11308292?v=4","gravatar_id":"","url":"https://api.github.com/users/angelgladin","html_url":"https://github.com/angelgladin","followers_url":"https://api.github.com/users/angelgladin/followers","following_url":"https://api.github.com/users/angelgladin/following{/other_user}","gists_url":"https://api.github.com/users/angelgladin/gists{/gist_id}","starred_url":"https://api.github.com/users/angelgladin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angelgladin/subscriptions","organizations_url":"https://api.github.com/users/angelgladin/orgs","repos_url":"https://api.github.com/users/angelgladin/repos","events_url":"https://api.github.com/users/angelgladin/events{/privacy}","received_events_url":"https://api.github.com/users/angelgladin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/angelgladin/Photo_Exif_Toolkit","description":"Photo Exif Toolkit Android app entirely written using Kotlin language","fork":false,"url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit","forks_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/forks","keys_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/teams","hooks_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/hooks","issue_events_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/issues/events{/number}","events_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/events","assignees_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/assignees{/user}","branches_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/branches{/branch}","tags_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/tags","blobs_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/languages","stargazers_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/stargazers","contributors_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/contributors","subscribers_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/subscribers","subscription_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/subscription","commits_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/contents/{+path}","compare_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/merges","archive_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/downloads","issues_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/issues{/number}","pulls_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/labels{/name}","releases_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/releases{/id}","deployments_url":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/deployments","created_at":"2016-12-21T21:00:26Z","updated_at":"2017-04-12T23:10:10Z","pushed_at":"2017-04-30T06:14:51Z","git_url":"git://github.com/angelgladin/Photo_Exif_Toolkit.git","ssh_url":"git@github.com:angelgladin/Photo_Exif_Toolkit.git","clone_url":"https://github.com/angelgladin/Photo_Exif_Toolkit.git","svn_url":"https://github.com/angelgladin/Photo_Exif_Toolkit","homepage":"","size":12250,"stargazers_count":19,"watchers_count":19,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/pulls/35"},"html":{"href":"https://github.com/angelgladin/Photo_Exif_Toolkit/pull/35"},"issue":{"href":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/issues/35"},"comments":{"href":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/angelgladin/Photo_Exif_Toolkit/statuses/bbe9b75cb34d4bd0f9b921f4270cd1bd30c1c780"}},"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":45,"changed_files":2}}
{"actor":{"display_login":"niazarak"}}