{"action":"created","comment":{"url":"https://api.github.com/repos/mrkcsc/android-media-picker/pulls/comments/90140992","pull_request_review_id":10664949,"id":90140992,"diff_hunk":"@@ -111,4 +130,23 @@ public void onCancelled() {\n     public Context getContext() {\n         return this;\n     }\n+\n+    private class MyContentFileProvider implements MediaPicker.ContentFileProvider {","path":"app/src/main/java/com/miguelgaeta/android_media_picker/AppActivity.java","position":47,"original_position":47,"commit_id":"8b75cb6809c3ca7393e7bf8a005681b5f8210e73","original_commit_id":"8b75cb6809c3ca7393e7bf8a005681b5f8210e73","user":{"login":"lytefast","id":5618601,"avatar_url":"https://avatars.githubusercontent.com/u/5618601?v=3","gravatar_id":"","url":"https://api.github.com/users/lytefast","html_url":"https://github.com/lytefast","followers_url":"https://api.github.com/users/lytefast/followers","following_url":"https://api.github.com/users/lytefast/following{/other_user}","gists_url":"https://api.github.com/users/lytefast/gists{/gist_id}","starred_url":"https://api.github.com/users/lytefast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lytefast/subscriptions","organizations_url":"https://api.github.com/users/lytefast/orgs","repos_url":"https://api.github.com/users/lytefast/repos","events_url":"https://api.github.com/users/lytefast/events{/privacy}","received_events_url":"https://api.github.com/users/lytefast/received_events","type":"User","site_admin":false},"body":"Given that creating a file and the `FileProvider` are tightly coupled via the filepath, I don't think we should provide a default implementation.","created_at":"2016-11-29T23:43:28Z","updated_at":"2016-11-29T23:43:28Z","html_url":"https://github.com/mrkcsc/android-media-picker/pull/7#discussion_r90140992","pull_request_url":"https://api.github.com/repos/mrkcsc/android-media-picker/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/mrkcsc/android-media-picker/pulls/comments/90140992"},"html":{"href":"https://github.com/mrkcsc/android-media-picker/pull/7#discussion_r90140992"},"pull_request":{"href":"https://api.github.com/repos/mrkcsc/android-media-picker/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/mrkcsc/android-media-picker/pulls/7","id":95779439,"html_url":"https://github.com/mrkcsc/android-media-picker/pull/7","diff_url":"https://github.com/mrkcsc/android-media-picker/pull/7.diff","patch_url":"https://github.com/mrkcsc/android-media-picker/pull/7.patch","issue_url":"https://api.github.com/repos/mrkcsc/android-media-picker/issues/7","number":7,"state":"open","locked":false,"title":"Add support for using FileProvider URIs","user":{"login":"lytefast","id":5618601,"avatar_url":"https://avatars.githubusercontent.com/u/5618601?v=3","gravatar_id":"","url":"https://api.github.com/users/lytefast","html_url":"https://github.com/lytefast","followers_url":"https://api.github.com/users/lytefast/followers","following_url":"https://api.github.com/users/lytefast/following{/other_user}","gists_url":"https://api.github.com/users/lytefast/gists{/gist_id}","starred_url":"https://api.github.com/users/lytefast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lytefast/subscriptions","organizations_url":"https://api.github.com/users/lytefast/orgs","repos_url":"https://api.github.com/users/lytefast/repos","events_url":"https://api.github.com/users/lytefast/events{/privacy}","received_events_url":"https://api.github.com/users/lytefast/received_events","type":"User","site_admin":false},"body":"- using FileProvider is suggested as it provides more security for file access\r\n- required for N and up to pass files","created_at":"2016-11-29T21:30:53Z","updated_at":"2016-11-29T23:43:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9d336ce73b54db9f4bb5c9fb2bd4959b9f067ce6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mrkcsc/android-media-picker/pulls/7/commits","review_comments_url":"https://api.github.com/repos/mrkcsc/android-media-picker/pulls/7/comments","review_comment_url":"https://api.github.com/repos/mrkcsc/android-media-picker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mrkcsc/android-media-picker/issues/7/comments","statuses_url":"https://api.github.com/repos/mrkcsc/android-media-picker/statuses/8b75cb6809c3ca7393e7bf8a005681b5f8210e73","head":{"label":"lytefast:file-provider-support","ref":"file-provider-support","sha":"8b75cb6809c3ca7393e7bf8a005681b5f8210e73","user":{"login":"lytefast","id":5618601,"avatar_url":"https://avatars.githubusercontent.com/u/5618601?v=3","gravatar_id":"","url":"https://api.github.com/users/lytefast","html_url":"https://github.com/lytefast","followers_url":"https://api.github.com/users/lytefast/followers","following_url":"https://api.github.com/users/lytefast/following{/other_user}","gists_url":"https://api.github.com/users/lytefast/gists{/gist_id}","starred_url":"https://api.github.com/users/lytefast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lytefast/subscriptions","organizations_url":"https://api.github.com/users/lytefast/orgs","repos_url":"https://api.github.com/users/lytefast/repos","events_url":"https://api.github.com/users/lytefast/events{/privacy}","received_events_url":"https://api.github.com/users/lytefast/received_events","type":"User","site_admin":false},"repo":{"id":75123061,"name":"android-media-picker","full_name":"lytefast/android-media-picker","owner":{"login":"lytefast","id":5618601,"avatar_url":"https://avatars.githubusercontent.com/u/5618601?v=3","gravatar_id":"","url":"https://api.github.com/users/lytefast","html_url":"https://github.com/lytefast","followers_url":"https://api.github.com/users/lytefast/followers","following_url":"https://api.github.com/users/lytefast/following{/other_user}","gists_url":"https://api.github.com/users/lytefast/gists{/gist_id}","starred_url":"https://api.github.com/users/lytefast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lytefast/subscriptions","organizations_url":"https://api.github.com/users/lytefast/orgs","repos_url":"https://api.github.com/users/lytefast/repos","events_url":"https://api.github.com/users/lytefast/events{/privacy}","received_events_url":"https://api.github.com/users/lytefast/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lytefast/android-media-picker","description":"A utility library that allows a user to easily take a picture from the gallery, camera or documents.","fork":true,"url":"https://api.github.com/repos/lytefast/android-media-picker","forks_url":"https://api.github.com/repos/lytefast/android-media-picker/forks","keys_url":"https://api.github.com/repos/lytefast/android-media-picker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lytefast/android-media-picker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lytefast/android-media-picker/teams","hooks_url":"https://api.github.com/repos/lytefast/android-media-picker/hooks","issue_events_url":"https://api.github.com/repos/lytefast/android-media-picker/issues/events{/number}","events_url":"https://api.github.com/repos/lytefast/android-media-picker/events","assignees_url":"https://api.github.com/repos/lytefast/android-media-picker/assignees{/user}","branches_url":"https://api.github.com/repos/lytefast/android-media-picker/branches{/branch}","tags_url":"https://api.github.com/repos/lytefast/android-media-picker/tags","blobs_url":"https://api.github.com/repos/lytefast/android-media-picker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lytefast/android-media-picker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lytefast/android-media-picker/git/refs{/sha}","trees_url":"https://api.github.com/repos/lytefast/android-media-picker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lytefast/android-media-picker/statuses/{sha}","languages_url":"https://api.github.com/repos/lytefast/android-media-picker/languages","stargazers_url":"https://api.github.com/repos/lytefast/android-media-picker/stargazers","contributors_url":"https://api.github.com/repos/lytefast/android-media-picker/contributors","subscribers_url":"https://api.github.com/repos/lytefast/android-media-picker/subscribers","subscription_url":"https://api.github.com/repos/lytefast/android-media-picker/subscription","commits_url":"https://api.github.com/repos/lytefast/android-media-picker/commits{/sha}","git_commits_url":"https://api.github.com/repos/lytefast/android-media-picker/git/commits{/sha}","comments_url":"https://api.github.com/repos/lytefast/android-media-picker/comments{/number}","issue_comment_url":"https://api.github.com/repos/lytefast/android-media-picker/issues/comments{/number}","contents_url":"https://api.github.com/repos/lytefast/android-media-picker/contents/{+path}","compare_url":"https://api.github.com/repos/lytefast/android-media-picker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lytefast/android-media-picker/merges","archive_url":"https://api.github.com/repos/lytefast/android-media-picker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lytefast/android-media-picker/downloads","issues_url":"https://api.github.com/repos/lytefast/android-media-picker/issues{/number}","pulls_url":"https://api.github.com/repos/lytefast/android-media-picker/pulls{/number}","milestones_url":"https://api.github.com/repos/lytefast/android-media-picker/milestones{/number}","notifications_url":"https://api.github.com/repos/lytefast/android-media-picker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lytefast/android-media-picker/labels{/name}","releases_url":"https://api.github.com/repos/lytefast/android-media-picker/releases{/id}","deployments_url":"https://api.github.com/repos/lytefast/android-media-picker/deployments","created_at":"2016-11-29T21:19:16Z","updated_at":"2016-11-29T21:19:17Z","pushed_at":"2016-11-29T21:24:03Z","git_url":"git://github.com/lytefast/android-media-picker.git","ssh_url":"git@github.com:lytefast/android-media-picker.git","clone_url":"https://github.com/lytefast/android-media-picker.git","svn_url":"https://github.com/lytefast/android-media-picker","homepage":"","size":122,"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":"mrkcsc:master","ref":"master","sha":"278f558270c561592796dc58f3c2a7912ea37a07","user":{"login":"mrkcsc","id":658964,"avatar_url":"https://avatars.githubusercontent.com/u/658964?v=3","gravatar_id":"","url":"https://api.github.com/users/mrkcsc","html_url":"https://github.com/mrkcsc","followers_url":"https://api.github.com/users/mrkcsc/followers","following_url":"https://api.github.com/users/mrkcsc/following{/other_user}","gists_url":"https://api.github.com/users/mrkcsc/gists{/gist_id}","starred_url":"https://api.github.com/users/mrkcsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrkcsc/subscriptions","organizations_url":"https://api.github.com/users/mrkcsc/orgs","repos_url":"https://api.github.com/users/mrkcsc/repos","events_url":"https://api.github.com/users/mrkcsc/events{/privacy}","received_events_url":"https://api.github.com/users/mrkcsc/received_events","type":"User","site_admin":false},"repo":{"id":51485666,"name":"android-media-picker","full_name":"mrkcsc/android-media-picker","owner":{"login":"mrkcsc","id":658964,"avatar_url":"https://avatars.githubusercontent.com/u/658964?v=3","gravatar_id":"","url":"https://api.github.com/users/mrkcsc","html_url":"https://github.com/mrkcsc","followers_url":"https://api.github.com/users/mrkcsc/followers","following_url":"https://api.github.com/users/mrkcsc/following{/other_user}","gists_url":"https://api.github.com/users/mrkcsc/gists{/gist_id}","starred_url":"https://api.github.com/users/mrkcsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrkcsc/subscriptions","organizations_url":"https://api.github.com/users/mrkcsc/orgs","repos_url":"https://api.github.com/users/mrkcsc/repos","events_url":"https://api.github.com/users/mrkcsc/events{/privacy}","received_events_url":"https://api.github.com/users/mrkcsc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mrkcsc/android-media-picker","description":"A utility library that allows a user to easily take a picture from the gallery, camera or documents.","fork":false,"url":"https://api.github.com/repos/mrkcsc/android-media-picker","forks_url":"https://api.github.com/repos/mrkcsc/android-media-picker/forks","keys_url":"https://api.github.com/repos/mrkcsc/android-media-picker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrkcsc/android-media-picker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrkcsc/android-media-picker/teams","hooks_url":"https://api.github.com/repos/mrkcsc/android-media-picker/hooks","issue_events_url":"https://api.github.com/repos/mrkcsc/android-media-picker/issues/events{/number}","events_url":"https://api.github.com/repos/mrkcsc/android-media-picker/events","assignees_url":"https://api.github.com/repos/mrkcsc/android-media-picker/assignees{/user}","branches_url":"https://api.github.com/repos/mrkcsc/android-media-picker/branches{/branch}","tags_url":"https://api.github.com/repos/mrkcsc/android-media-picker/tags","blobs_url":"https://api.github.com/repos/mrkcsc/android-media-picker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrkcsc/android-media-picker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrkcsc/android-media-picker/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrkcsc/android-media-picker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrkcsc/android-media-picker/statuses/{sha}","languages_url":"https://api.github.com/repos/mrkcsc/android-media-picker/languages","stargazers_url":"https://api.github.com/repos/mrkcsc/android-media-picker/stargazers","contributors_url":"https://api.github.com/repos/mrkcsc/android-media-picker/contributors","subscribers_url":"https://api.github.com/repos/mrkcsc/android-media-picker/subscribers","subscription_url":"https://api.github.com/repos/mrkcsc/android-media-picker/subscription","commits_url":"https://api.github.com/repos/mrkcsc/android-media-picker/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrkcsc/android-media-picker/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrkcsc/android-media-picker/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrkcsc/android-media-picker/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrkcsc/android-media-picker/contents/{+path}","compare_url":"https://api.github.com/repos/mrkcsc/android-media-picker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrkcsc/android-media-picker/merges","archive_url":"https://api.github.com/repos/mrkcsc/android-media-picker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrkcsc/android-media-picker/downloads","issues_url":"https://api.github.com/repos/mrkcsc/android-media-picker/issues{/number}","pulls_url":"https://api.github.com/repos/mrkcsc/android-media-picker/pulls{/number}","milestones_url":"https://api.github.com/repos/mrkcsc/android-media-picker/milestones{/number}","notifications_url":"https://api.github.com/repos/mrkcsc/android-media-picker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrkcsc/android-media-picker/labels{/name}","releases_url":"https://api.github.com/repos/mrkcsc/android-media-picker/releases{/id}","deployments_url":"https://api.github.com/repos/mrkcsc/android-media-picker/deployments","created_at":"2016-02-11T00:59:53Z","updated_at":"2016-02-16T19:03:34Z","pushed_at":"2016-11-29T21:30:53Z","git_url":"git://github.com/mrkcsc/android-media-picker.git","ssh_url":"git@github.com:mrkcsc/android-media-picker.git","clone_url":"https://github.com/mrkcsc/android-media-picker.git","svn_url":"https://github.com/mrkcsc/android-media-picker","homepage":"","size":120,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mrkcsc/android-media-picker/pulls/7"},"html":{"href":"https://github.com/mrkcsc/android-media-picker/pull/7"},"issue":{"href":"https://api.github.com/repos/mrkcsc/android-media-picker/issues/7"},"comments":{"href":"https://api.github.com/repos/mrkcsc/android-media-picker/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/mrkcsc/android-media-picker/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/mrkcsc/android-media-picker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mrkcsc/android-media-picker/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/mrkcsc/android-media-picker/statuses/8b75cb6809c3ca7393e7bf8a005681b5f8210e73"}}}}
{"actor":{"display_login":"lytefast"}}