{"action":"created","comment":{"url":"https://api.github.com/repos/square/spoon/pulls/comments/50765433","id":50765433,"diff_hunk":"@@ -206,7 +205,7 @@ private static File filesDirectory(Context context, String directoryType, String\n     File directory;\n     if (Build.VERSION.SDK_INT >= 21) {","path":"spoon-client/src/main/java/com/squareup/spoon/Spoon.java","position":10,"original_position":10,"commit_id":"723ad791500d475865d5657c88b5a67f5e2df13d","original_commit_id":"723ad791500d475865d5657c88b5a67f5e2df13d","user":{"login":"tasomaniac","id":763339,"avatar_url":"https://avatars.githubusercontent.com/u/763339?v=3","gravatar_id":"","url":"https://api.github.com/users/tasomaniac","html_url":"https://github.com/tasomaniac","followers_url":"https://api.github.com/users/tasomaniac/followers","following_url":"https://api.github.com/users/tasomaniac/following{/other_user}","gists_url":"https://api.github.com/users/tasomaniac/gists{/gist_id}","starred_url":"https://api.github.com/users/tasomaniac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tasomaniac/subscriptions","organizations_url":"https://api.github.com/users/tasomaniac/orgs","repos_url":"https://api.github.com/users/tasomaniac/repos","events_url":"https://api.github.com/users/tasomaniac/events{/privacy}","received_events_url":"https://api.github.com/users/tasomaniac/received_events","type":"User","site_admin":false},"body":"I think \"storage permission necessity\" is removed at API level 19. ","created_at":"2016-01-25T22:17:33Z","updated_at":"2016-01-25T22:17:33Z","html_url":"https://github.com/square/spoon/pull/315#discussion_r50765433","pull_request_url":"https://api.github.com/repos/square/spoon/pulls/315","_links":{"self":{"href":"https://api.github.com/repos/square/spoon/pulls/comments/50765433"},"html":{"href":"https://github.com/square/spoon/pull/315#discussion_r50765433"},"pull_request":{"href":"https://api.github.com/repos/square/spoon/pulls/315"}}},"pull_request":{"url":"https://api.github.com/repos/square/spoon/pulls/315","id":56831534,"html_url":"https://github.com/square/spoon/pull/315","diff_url":"https://github.com/square/spoon/pull/315.diff","patch_url":"https://github.com/square/spoon/pull/315.patch","issue_url":"https://api.github.com/repos/square/spoon/issues/315","number":315,"state":"open","locked":false,"title":"Fix for storing screenshots on Android M","user":{"login":"dannyroa","id":144925,"avatar_url":"https://avatars.githubusercontent.com/u/144925?v=3","gravatar_id":"","url":"https://api.github.com/users/dannyroa","html_url":"https://github.com/dannyroa","followers_url":"https://api.github.com/users/dannyroa/followers","following_url":"https://api.github.com/users/dannyroa/following{/other_user}","gists_url":"https://api.github.com/users/dannyroa/gists{/gist_id}","starred_url":"https://api.github.com/users/dannyroa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannyroa/subscriptions","organizations_url":"https://api.github.com/users/dannyroa/orgs","repos_url":"https://api.github.com/users/dannyroa/repos","events_url":"https://api.github.com/users/dannyroa/events{/privacy}","received_events_url":"https://api.github.com/users/dannyroa/received_events","type":"User","site_admin":false},"body":"No need for storage permissions; use context.getExternalFilesDir instead to store screenshots.","created_at":"2016-01-22T00:35:19Z","updated_at":"2016-01-25T22:17:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"381c1a2e334ef48b2d5877e7541eae665817a7ee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/square/spoon/pulls/315/commits","review_comments_url":"https://api.github.com/repos/square/spoon/pulls/315/comments","review_comment_url":"https://api.github.com/repos/square/spoon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/square/spoon/issues/315/comments","statuses_url":"https://api.github.com/repos/square/spoon/statuses/723ad791500d475865d5657c88b5a67f5e2df13d","head":{"label":"dannyroa:marshmallow","ref":"marshmallow","sha":"723ad791500d475865d5657c88b5a67f5e2df13d","user":{"login":"dannyroa","id":144925,"avatar_url":"https://avatars.githubusercontent.com/u/144925?v=3","gravatar_id":"","url":"https://api.github.com/users/dannyroa","html_url":"https://github.com/dannyroa","followers_url":"https://api.github.com/users/dannyroa/followers","following_url":"https://api.github.com/users/dannyroa/following{/other_user}","gists_url":"https://api.github.com/users/dannyroa/gists{/gist_id}","starred_url":"https://api.github.com/users/dannyroa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannyroa/subscriptions","organizations_url":"https://api.github.com/users/dannyroa/orgs","repos_url":"https://api.github.com/users/dannyroa/repos","events_url":"https://api.github.com/users/dannyroa/events{/privacy}","received_events_url":"https://api.github.com/users/dannyroa/received_events","type":"User","site_admin":false},"repo":{"id":50146445,"name":"spoon","full_name":"dannyroa/spoon","owner":{"login":"dannyroa","id":144925,"avatar_url":"https://avatars.githubusercontent.com/u/144925?v=3","gravatar_id":"","url":"https://api.github.com/users/dannyroa","html_url":"https://github.com/dannyroa","followers_url":"https://api.github.com/users/dannyroa/followers","following_url":"https://api.github.com/users/dannyroa/following{/other_user}","gists_url":"https://api.github.com/users/dannyroa/gists{/gist_id}","starred_url":"https://api.github.com/users/dannyroa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannyroa/subscriptions","organizations_url":"https://api.github.com/users/dannyroa/orgs","repos_url":"https://api.github.com/users/dannyroa/repos","events_url":"https://api.github.com/users/dannyroa/events{/privacy}","received_events_url":"https://api.github.com/users/dannyroa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dannyroa/spoon","description":"Distributing instrumentation tests to all your Androids.","fork":true,"url":"https://api.github.com/repos/dannyroa/spoon","forks_url":"https://api.github.com/repos/dannyroa/spoon/forks","keys_url":"https://api.github.com/repos/dannyroa/spoon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dannyroa/spoon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dannyroa/spoon/teams","hooks_url":"https://api.github.com/repos/dannyroa/spoon/hooks","issue_events_url":"https://api.github.com/repos/dannyroa/spoon/issues/events{/number}","events_url":"https://api.github.com/repos/dannyroa/spoon/events","assignees_url":"https://api.github.com/repos/dannyroa/spoon/assignees{/user}","branches_url":"https://api.github.com/repos/dannyroa/spoon/branches{/branch}","tags_url":"https://api.github.com/repos/dannyroa/spoon/tags","blobs_url":"https://api.github.com/repos/dannyroa/spoon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dannyroa/spoon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dannyroa/spoon/git/refs{/sha}","trees_url":"https://api.github.com/repos/dannyroa/spoon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dannyroa/spoon/statuses/{sha}","languages_url":"https://api.github.com/repos/dannyroa/spoon/languages","stargazers_url":"https://api.github.com/repos/dannyroa/spoon/stargazers","contributors_url":"https://api.github.com/repos/dannyroa/spoon/contributors","subscribers_url":"https://api.github.com/repos/dannyroa/spoon/subscribers","subscription_url":"https://api.github.com/repos/dannyroa/spoon/subscription","commits_url":"https://api.github.com/repos/dannyroa/spoon/commits{/sha}","git_commits_url":"https://api.github.com/repos/dannyroa/spoon/git/commits{/sha}","comments_url":"https://api.github.com/repos/dannyroa/spoon/comments{/number}","issue_comment_url":"https://api.github.com/repos/dannyroa/spoon/issues/comments{/number}","contents_url":"https://api.github.com/repos/dannyroa/spoon/contents/{+path}","compare_url":"https://api.github.com/repos/dannyroa/spoon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dannyroa/spoon/merges","archive_url":"https://api.github.com/repos/dannyroa/spoon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dannyroa/spoon/downloads","issues_url":"https://api.github.com/repos/dannyroa/spoon/issues{/number}","pulls_url":"https://api.github.com/repos/dannyroa/spoon/pulls{/number}","milestones_url":"https://api.github.com/repos/dannyroa/spoon/milestones{/number}","notifications_url":"https://api.github.com/repos/dannyroa/spoon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dannyroa/spoon/labels{/name}","releases_url":"https://api.github.com/repos/dannyroa/spoon/releases{/id}","deployments_url":"https://api.github.com/repos/dannyroa/spoon/deployments","created_at":"2016-01-22T00:28:59Z","updated_at":"2016-01-22T00:29:00Z","pushed_at":"2016-01-22T01:12:23Z","git_url":"git://github.com/dannyroa/spoon.git","ssh_url":"git@github.com:dannyroa/spoon.git","clone_url":"https://github.com/dannyroa/spoon.git","svn_url":"https://github.com/dannyroa/spoon","homepage":"http://square.github.io/spoon/","size":39181,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"square:master","ref":"master","sha":"9874b0af08b4be7bcb5ff830015e84abb1735b26","user":{"login":"square","id":82592,"avatar_url":"https://avatars.githubusercontent.com/u/82592?v=3","gravatar_id":"","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"repo":{"id":7764585,"name":"spoon","full_name":"square/spoon","owner":{"login":"square","id":82592,"avatar_url":"https://avatars.githubusercontent.com/u/82592?v=3","gravatar_id":"","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/square/spoon","description":"Distributing instrumentation tests to all your Androids.","fork":false,"url":"https://api.github.com/repos/square/spoon","forks_url":"https://api.github.com/repos/square/spoon/forks","keys_url":"https://api.github.com/repos/square/spoon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/square/spoon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/square/spoon/teams","hooks_url":"https://api.github.com/repos/square/spoon/hooks","issue_events_url":"https://api.github.com/repos/square/spoon/issues/events{/number}","events_url":"https://api.github.com/repos/square/spoon/events","assignees_url":"https://api.github.com/repos/square/spoon/assignees{/user}","branches_url":"https://api.github.com/repos/square/spoon/branches{/branch}","tags_url":"https://api.github.com/repos/square/spoon/tags","blobs_url":"https://api.github.com/repos/square/spoon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/square/spoon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/square/spoon/git/refs{/sha}","trees_url":"https://api.github.com/repos/square/spoon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/square/spoon/statuses/{sha}","languages_url":"https://api.github.com/repos/square/spoon/languages","stargazers_url":"https://api.github.com/repos/square/spoon/stargazers","contributors_url":"https://api.github.com/repos/square/spoon/contributors","subscribers_url":"https://api.github.com/repos/square/spoon/subscribers","subscription_url":"https://api.github.com/repos/square/spoon/subscription","commits_url":"https://api.github.com/repos/square/spoon/commits{/sha}","git_commits_url":"https://api.github.com/repos/square/spoon/git/commits{/sha}","comments_url":"https://api.github.com/repos/square/spoon/comments{/number}","issue_comment_url":"https://api.github.com/repos/square/spoon/issues/comments{/number}","contents_url":"https://api.github.com/repos/square/spoon/contents/{+path}","compare_url":"https://api.github.com/repos/square/spoon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/square/spoon/merges","archive_url":"https://api.github.com/repos/square/spoon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/square/spoon/downloads","issues_url":"https://api.github.com/repos/square/spoon/issues{/number}","pulls_url":"https://api.github.com/repos/square/spoon/pulls{/number}","milestones_url":"https://api.github.com/repos/square/spoon/milestones{/number}","notifications_url":"https://api.github.com/repos/square/spoon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/square/spoon/labels{/name}","releases_url":"https://api.github.com/repos/square/spoon/releases{/id}","deployments_url":"https://api.github.com/repos/square/spoon/deployments","created_at":"2013-01-23T00:29:36Z","updated_at":"2016-01-25T05:42:43Z","pushed_at":"2016-01-22T16:13:59Z","git_url":"git://github.com/square/spoon.git","ssh_url":"git@github.com:square/spoon.git","clone_url":"https://github.com/square/spoon.git","svn_url":"https://github.com/square/spoon","homepage":"http://square.github.io/spoon/","size":39532,"stargazers_count":1509,"watchers_count":1509,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":306,"mirror_url":null,"open_issues_count":52,"forks":306,"open_issues":52,"watchers":1509,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/square/spoon/pulls/315"},"html":{"href":"https://github.com/square/spoon/pull/315"},"issue":{"href":"https://api.github.com/repos/square/spoon/issues/315"},"comments":{"href":"https://api.github.com/repos/square/spoon/issues/315/comments"},"review_comments":{"href":"https://api.github.com/repos/square/spoon/pulls/315/comments"},"review_comment":{"href":"https://api.github.com/repos/square/spoon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/square/spoon/pulls/315/commits"},"statuses":{"href":"https://api.github.com/repos/square/spoon/statuses/723ad791500d475865d5657c88b5a67f5e2df13d"}}}}