{"action":"created","comment":{"url":"https://api.github.com/repos/ankidroid/Anki-Android/pulls/comments/56461153","id":56461153,"diff_hunk":"@@ -129,7 +131,7 @@\n             }\n         }\n     }\n-\n+    private static final String READ_WRITE_PERMISSION = FlashCardsContract.READ_WRITE_PERMISSION;","path":"AnkiDroid/src/main/java/com/ichi2/anki/provider/CardContentProvider.java","position":14,"original_position":14,"commit_id":"5057a0462d40e5d79ce93ace26e1ff192b341a3f","original_commit_id":"5057a0462d40e5d79ce93ace26e1ff192b341a3f","user":{"login":"timrae","id":2818274,"avatar_url":"https://avatars.githubusercontent.com/u/2818274?v=3","gravatar_id":"","url":"https://api.github.com/users/timrae","html_url":"https://github.com/timrae","followers_url":"https://api.github.com/users/timrae/followers","following_url":"https://api.github.com/users/timrae/following{/other_user}","gists_url":"https://api.github.com/users/timrae/gists{/gist_id}","starred_url":"https://api.github.com/users/timrae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timrae/subscriptions","organizations_url":"https://api.github.com/users/timrae/orgs","repos_url":"https://api.github.com/users/timrae/repos","events_url":"https://api.github.com/users/timrae/events{/privacy}","received_events_url":"https://api.github.com/users/timrae/received_events","type":"User","site_admin":false},"body":"FlashCardContract.READ_WRITE_PERMISSION takes us over the char count and it looked cleaner than splitting the lines up :-p","created_at":"2016-03-17T06:31:26Z","updated_at":"2016-03-17T06:31:26Z","html_url":"https://github.com/ankidroid/Anki-Android/pull/4146#discussion_r56461153","pull_request_url":"https://api.github.com/repos/ankidroid/Anki-Android/pulls/4146","_links":{"self":{"href":"https://api.github.com/repos/ankidroid/Anki-Android/pulls/comments/56461153"},"html":{"href":"https://github.com/ankidroid/Anki-Android/pull/4146#discussion_r56461153"},"pull_request":{"href":"https://api.github.com/repos/ankidroid/Anki-Android/pulls/4146"}}},"pull_request":{"url":"https://api.github.com/repos/ankidroid/Anki-Android/pulls/4146","id":63177796,"html_url":"https://github.com/ankidroid/Anki-Android/pull/4146","diff_url":"https://github.com/ankidroid/Anki-Android/pull/4146.diff","patch_url":"https://github.com/ankidroid/Anki-Android/pull/4146.patch","issue_url":"https://api.github.com/repos/ankidroid/Anki-Android/issues/4146","number":4146,"state":"open","locked":false,"title":"Restrict ContentProvider permissions on Android M and note update/delete","user":{"login":"timrae","id":2818274,"avatar_url":"https://avatars.githubusercontent.com/u/2818274?v=3","gravatar_id":"","url":"https://api.github.com/users/timrae","html_url":"https://github.com/timrae","followers_url":"https://api.github.com/users/timrae/followers","following_url":"https://api.github.com/users/timrae/following{/other_user}","gists_url":"https://api.github.com/users/timrae/gists{/gist_id}","starred_url":"https://api.github.com/users/timrae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timrae/subscriptions","organizations_url":"https://api.github.com/users/timrae/orgs","repos_url":"https://api.github.com/users/timrae/repos","events_url":"https://api.github.com/users/timrae/events{/privacy}","received_events_url":"https://api.github.com/users/timrae/received_events","type":"User","site_admin":false},"body":"Also add a clause to allow self-calling to pass on debug builds so that unit tests will pass","created_at":"2016-03-17T06:14:40Z","updated_at":"2016-03-17T06:31:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5ea34984a1ee454c5687f7f6976502b091f20a12","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ankidroid/Anki-Android/pulls/4146/commits","review_comments_url":"https://api.github.com/repos/ankidroid/Anki-Android/pulls/4146/comments","review_comment_url":"https://api.github.com/repos/ankidroid/Anki-Android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ankidroid/Anki-Android/issues/4146/comments","statuses_url":"https://api.github.com/repos/ankidroid/Anki-Android/statuses/5057a0462d40e5d79ce93ace26e1ff192b341a3f","head":{"label":"timrae:restrict-permissions","ref":"restrict-permissions","sha":"5057a0462d40e5d79ce93ace26e1ff192b341a3f","user":{"login":"timrae","id":2818274,"avatar_url":"https://avatars.githubusercontent.com/u/2818274?v=3","gravatar_id":"","url":"https://api.github.com/users/timrae","html_url":"https://github.com/timrae","followers_url":"https://api.github.com/users/timrae/followers","following_url":"https://api.github.com/users/timrae/following{/other_user}","gists_url":"https://api.github.com/users/timrae/gists{/gist_id}","starred_url":"https://api.github.com/users/timrae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timrae/subscriptions","organizations_url":"https://api.github.com/users/timrae/orgs","repos_url":"https://api.github.com/users/timrae/repos","events_url":"https://api.github.com/users/timrae/events{/privacy}","received_events_url":"https://api.github.com/users/timrae/received_events","type":"User","site_admin":false},"repo":{"id":16934714,"name":"Anki-Android","full_name":"timrae/Anki-Android","owner":{"login":"timrae","id":2818274,"avatar_url":"https://avatars.githubusercontent.com/u/2818274?v=3","gravatar_id":"","url":"https://api.github.com/users/timrae","html_url":"https://github.com/timrae","followers_url":"https://api.github.com/users/timrae/followers","following_url":"https://api.github.com/users/timrae/following{/other_user}","gists_url":"https://api.github.com/users/timrae/gists{/gist_id}","starred_url":"https://api.github.com/users/timrae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timrae/subscriptions","organizations_url":"https://api.github.com/users/timrae/orgs","repos_url":"https://api.github.com/users/timrae/repos","events_url":"https://api.github.com/users/timrae/events{/privacy}","received_events_url":"https://api.github.com/users/timrae/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/timrae/Anki-Android","description":"Anki on Android","fork":true,"url":"https://api.github.com/repos/timrae/Anki-Android","forks_url":"https://api.github.com/repos/timrae/Anki-Android/forks","keys_url":"https://api.github.com/repos/timrae/Anki-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timrae/Anki-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timrae/Anki-Android/teams","hooks_url":"https://api.github.com/repos/timrae/Anki-Android/hooks","issue_events_url":"https://api.github.com/repos/timrae/Anki-Android/issues/events{/number}","events_url":"https://api.github.com/repos/timrae/Anki-Android/events","assignees_url":"https://api.github.com/repos/timrae/Anki-Android/assignees{/user}","branches_url":"https://api.github.com/repos/timrae/Anki-Android/branches{/branch}","tags_url":"https://api.github.com/repos/timrae/Anki-Android/tags","blobs_url":"https://api.github.com/repos/timrae/Anki-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timrae/Anki-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timrae/Anki-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/timrae/Anki-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timrae/Anki-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/timrae/Anki-Android/languages","stargazers_url":"https://api.github.com/repos/timrae/Anki-Android/stargazers","contributors_url":"https://api.github.com/repos/timrae/Anki-Android/contributors","subscribers_url":"https://api.github.com/repos/timrae/Anki-Android/subscribers","subscription_url":"https://api.github.com/repos/timrae/Anki-Android/subscription","commits_url":"https://api.github.com/repos/timrae/Anki-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/timrae/Anki-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/timrae/Anki-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/timrae/Anki-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/timrae/Anki-Android/contents/{+path}","compare_url":"https://api.github.com/repos/timrae/Anki-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timrae/Anki-Android/merges","archive_url":"https://api.github.com/repos/timrae/Anki-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timrae/Anki-Android/downloads","issues_url":"https://api.github.com/repos/timrae/Anki-Android/issues{/number}","pulls_url":"https://api.github.com/repos/timrae/Anki-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/timrae/Anki-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/timrae/Anki-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timrae/Anki-Android/labels{/name}","releases_url":"https://api.github.com/repos/timrae/Anki-Android/releases{/id}","deployments_url":"https://api.github.com/repos/timrae/Anki-Android/deployments","created_at":"2014-02-18T02:46:48Z","updated_at":"2015-12-18T22:01:06Z","pushed_at":"2016-03-17T06:11:48Z","git_url":"git://github.com/timrae/Anki-Android.git","ssh_url":"git@github.com:timrae/Anki-Android.git","clone_url":"https://github.com/timrae/Anki-Android.git","svn_url":"https://github.com/timrae/Anki-Android","homepage":"","size":102753,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":2,"default_branch":"develop"}},"base":{"label":"ankidroid:develop","ref":"develop","sha":"db0a94314bcc3afd75f01f92d2b291355e528c20","user":{"login":"ankidroid","id":3320903,"avatar_url":"https://avatars.githubusercontent.com/u/3320903?v=3","gravatar_id":"","url":"https://api.github.com/users/ankidroid","html_url":"https://github.com/ankidroid","followers_url":"https://api.github.com/users/ankidroid/followers","following_url":"https://api.github.com/users/ankidroid/following{/other_user}","gists_url":"https://api.github.com/users/ankidroid/gists{/gist_id}","starred_url":"https://api.github.com/users/ankidroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankidroid/subscriptions","organizations_url":"https://api.github.com/users/ankidroid/orgs","repos_url":"https://api.github.com/users/ankidroid/repos","events_url":"https://api.github.com/users/ankidroid/events{/privacy}","received_events_url":"https://api.github.com/users/ankidroid/received_events","type":"Organization","site_admin":false},"repo":{"id":7716883,"name":"Anki-Android","full_name":"ankidroid/Anki-Android","owner":{"login":"ankidroid","id":3320903,"avatar_url":"https://avatars.githubusercontent.com/u/3320903?v=3","gravatar_id":"","url":"https://api.github.com/users/ankidroid","html_url":"https://github.com/ankidroid","followers_url":"https://api.github.com/users/ankidroid/followers","following_url":"https://api.github.com/users/ankidroid/following{/other_user}","gists_url":"https://api.github.com/users/ankidroid/gists{/gist_id}","starred_url":"https://api.github.com/users/ankidroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankidroid/subscriptions","organizations_url":"https://api.github.com/users/ankidroid/orgs","repos_url":"https://api.github.com/users/ankidroid/repos","events_url":"https://api.github.com/users/ankidroid/events{/privacy}","received_events_url":"https://api.github.com/users/ankidroid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ankidroid/Anki-Android","description":"AnkiDroid: Anki on Android","fork":false,"url":"https://api.github.com/repos/ankidroid/Anki-Android","forks_url":"https://api.github.com/repos/ankidroid/Anki-Android/forks","keys_url":"https://api.github.com/repos/ankidroid/Anki-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ankidroid/Anki-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ankidroid/Anki-Android/teams","hooks_url":"https://api.github.com/repos/ankidroid/Anki-Android/hooks","issue_events_url":"https://api.github.com/repos/ankidroid/Anki-Android/issues/events{/number}","events_url":"https://api.github.com/repos/ankidroid/Anki-Android/events","assignees_url":"https://api.github.com/repos/ankidroid/Anki-Android/assignees{/user}","branches_url":"https://api.github.com/repos/ankidroid/Anki-Android/branches{/branch}","tags_url":"https://api.github.com/repos/ankidroid/Anki-Android/tags","blobs_url":"https://api.github.com/repos/ankidroid/Anki-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ankidroid/Anki-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ankidroid/Anki-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/ankidroid/Anki-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ankidroid/Anki-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/ankidroid/Anki-Android/languages","stargazers_url":"https://api.github.com/repos/ankidroid/Anki-Android/stargazers","contributors_url":"https://api.github.com/repos/ankidroid/Anki-Android/contributors","subscribers_url":"https://api.github.com/repos/ankidroid/Anki-Android/subscribers","subscription_url":"https://api.github.com/repos/ankidroid/Anki-Android/subscription","commits_url":"https://api.github.com/repos/ankidroid/Anki-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/ankidroid/Anki-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/ankidroid/Anki-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/ankidroid/Anki-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/ankidroid/Anki-Android/contents/{+path}","compare_url":"https://api.github.com/repos/ankidroid/Anki-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ankidroid/Anki-Android/merges","archive_url":"https://api.github.com/repos/ankidroid/Anki-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ankidroid/Anki-Android/downloads","issues_url":"https://api.github.com/repos/ankidroid/Anki-Android/issues{/number}","pulls_url":"https://api.github.com/repos/ankidroid/Anki-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/ankidroid/Anki-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/ankidroid/Anki-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ankidroid/Anki-Android/labels{/name}","releases_url":"https://api.github.com/repos/ankidroid/Anki-Android/releases{/id}","deployments_url":"https://api.github.com/repos/ankidroid/Anki-Android/deployments","created_at":"2013-01-20T13:55:53Z","updated_at":"2016-03-17T01:03:16Z","pushed_at":"2016-03-17T06:14:40Z","git_url":"git://github.com/ankidroid/Anki-Android.git","ssh_url":"git@github.com:ankidroid/Anki-Android.git","clone_url":"https://github.com/ankidroid/Anki-Android.git","svn_url":"https://github.com/ankidroid/Anki-Android","homepage":"","size":124605,"stargazers_count":509,"watchers_count":509,"language":"Java","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":415,"mirror_url":null,"open_issues_count":279,"forks":415,"open_issues":279,"watchers":509,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ankidroid/Anki-Android/pulls/4146"},"html":{"href":"https://github.com/ankidroid/Anki-Android/pull/4146"},"issue":{"href":"https://api.github.com/repos/ankidroid/Anki-Android/issues/4146"},"comments":{"href":"https://api.github.com/repos/ankidroid/Anki-Android/issues/4146/comments"},"review_comments":{"href":"https://api.github.com/repos/ankidroid/Anki-Android/pulls/4146/comments"},"review_comment":{"href":"https://api.github.com/repos/ankidroid/Anki-Android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ankidroid/Anki-Android/pulls/4146/commits"},"statuses":{"href":"https://api.github.com/repos/ankidroid/Anki-Android/statuses/5057a0462d40e5d79ce93ace26e1ff192b341a3f"}}}}