{"action":"closed","number":1021,"pull_request":{"url":"https://api.github.com/repos/k9mail/k-9/pulls/1021","id":56057778,"html_url":"https://github.com/k9mail/k-9/pull/1021","diff_url":"https://github.com/k9mail/k-9/pull/1021.diff","patch_url":"https://github.com/k9mail/k-9/pull/1021.patch","issue_url":"https://api.github.com/repos/k9mail/k-9/issues/1021","number":1021,"state":"closed","locked":false,"title":"enable syncing while idle on Android M devices","user":{"login":"TETRA2000","id":1459450,"avatar_url":"https://avatars.githubusercontent.com/u/1459450?v=3","gravatar_id":"","url":"https://api.github.com/users/TETRA2000","html_url":"https://github.com/TETRA2000","followers_url":"https://api.github.com/users/TETRA2000/followers","following_url":"https://api.github.com/users/TETRA2000/following{/other_user}","gists_url":"https://api.github.com/users/TETRA2000/gists{/gist_id}","starred_url":"https://api.github.com/users/TETRA2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TETRA2000/subscriptions","organizations_url":"https://api.github.com/users/TETRA2000/orgs","repos_url":"https://api.github.com/users/TETRA2000/repos","events_url":"https://api.github.com/users/TETRA2000/events{/privacy}","received_events_url":"https://api.github.com/users/TETRA2000/received_events","type":"User","site_admin":false},"body":"#970 #857\r\nChange to use new AlarmManager API when it's available and whitelisted by user.\r\nI think it's better to try fetching email as possible as frequent when user wanted.\r\n\r\nI confirmed emails are fetched in this [test method](http://developer.android.com/training/monitoring-device-state/doze-standby.html#testing_doze_and_app_standby) and my daily use with N7(2013).\r\n\r\nSorry if my english is hard to understand.","created_at":"2016-01-14T16:25:50Z","updated_at":"2016-01-15T09:51:01Z","closed_at":"2016-01-15T09:51:01Z","merged_at":"2016-01-15T09:51:01Z","merge_commit_sha":"7df31f1904a5b04973e6fc9928cfe7d5eda9fc40","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/k9mail/k-9/pulls/1021/commits","review_comments_url":"https://api.github.com/repos/k9mail/k-9/pulls/1021/comments","review_comment_url":"https://api.github.com/repos/k9mail/k-9/pulls/comments{/number}","comments_url":"https://api.github.com/repos/k9mail/k-9/issues/1021/comments","statuses_url":"https://api.github.com/repos/k9mail/k-9/statuses/47a6d1bf27d79508081558715e4cbf97d9e7bf3b","head":{"label":"TETRA2000:doze_alarm_manager","ref":"doze_alarm_manager","sha":"47a6d1bf27d79508081558715e4cbf97d9e7bf3b","user":{"login":"TETRA2000","id":1459450,"avatar_url":"https://avatars.githubusercontent.com/u/1459450?v=3","gravatar_id":"","url":"https://api.github.com/users/TETRA2000","html_url":"https://github.com/TETRA2000","followers_url":"https://api.github.com/users/TETRA2000/followers","following_url":"https://api.github.com/users/TETRA2000/following{/other_user}","gists_url":"https://api.github.com/users/TETRA2000/gists{/gist_id}","starred_url":"https://api.github.com/users/TETRA2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TETRA2000/subscriptions","organizations_url":"https://api.github.com/users/TETRA2000/orgs","repos_url":"https://api.github.com/users/TETRA2000/repos","events_url":"https://api.github.com/users/TETRA2000/events{/privacy}","received_events_url":"https://api.github.com/users/TETRA2000/received_events","type":"User","site_admin":false},"repo":{"id":49582780,"name":"k-9","full_name":"TETRA2000/k-9","owner":{"login":"TETRA2000","id":1459450,"avatar_url":"https://avatars.githubusercontent.com/u/1459450?v=3","gravatar_id":"","url":"https://api.github.com/users/TETRA2000","html_url":"https://github.com/TETRA2000","followers_url":"https://api.github.com/users/TETRA2000/followers","following_url":"https://api.github.com/users/TETRA2000/following{/other_user}","gists_url":"https://api.github.com/users/TETRA2000/gists{/gist_id}","starred_url":"https://api.github.com/users/TETRA2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TETRA2000/subscriptions","organizations_url":"https://api.github.com/users/TETRA2000/orgs","repos_url":"https://api.github.com/users/TETRA2000/repos","events_url":"https://api.github.com/users/TETRA2000/events{/privacy}","received_events_url":"https://api.github.com/users/TETRA2000/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TETRA2000/k-9","description":"K-9 Mail – Advanced Email for Android","fork":true,"url":"https://api.github.com/repos/TETRA2000/k-9","forks_url":"https://api.github.com/repos/TETRA2000/k-9/forks","keys_url":"https://api.github.com/repos/TETRA2000/k-9/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TETRA2000/k-9/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TETRA2000/k-9/teams","hooks_url":"https://api.github.com/repos/TETRA2000/k-9/hooks","issue_events_url":"https://api.github.com/repos/TETRA2000/k-9/issues/events{/number}","events_url":"https://api.github.com/repos/TETRA2000/k-9/events","assignees_url":"https://api.github.com/repos/TETRA2000/k-9/assignees{/user}","branches_url":"https://api.github.com/repos/TETRA2000/k-9/branches{/branch}","tags_url":"https://api.github.com/repos/TETRA2000/k-9/tags","blobs_url":"https://api.github.com/repos/TETRA2000/k-9/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TETRA2000/k-9/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TETRA2000/k-9/git/refs{/sha}","trees_url":"https://api.github.com/repos/TETRA2000/k-9/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TETRA2000/k-9/statuses/{sha}","languages_url":"https://api.github.com/repos/TETRA2000/k-9/languages","stargazers_url":"https://api.github.com/repos/TETRA2000/k-9/stargazers","contributors_url":"https://api.github.com/repos/TETRA2000/k-9/contributors","subscribers_url":"https://api.github.com/repos/TETRA2000/k-9/subscribers","subscription_url":"https://api.github.com/repos/TETRA2000/k-9/subscription","commits_url":"https://api.github.com/repos/TETRA2000/k-9/commits{/sha}","git_commits_url":"https://api.github.com/repos/TETRA2000/k-9/git/commits{/sha}","comments_url":"https://api.github.com/repos/TETRA2000/k-9/comments{/number}","issue_comment_url":"https://api.github.com/repos/TETRA2000/k-9/issues/comments{/number}","contents_url":"https://api.github.com/repos/TETRA2000/k-9/contents/{+path}","compare_url":"https://api.github.com/repos/TETRA2000/k-9/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TETRA2000/k-9/merges","archive_url":"https://api.github.com/repos/TETRA2000/k-9/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TETRA2000/k-9/downloads","issues_url":"https://api.github.com/repos/TETRA2000/k-9/issues{/number}","pulls_url":"https://api.github.com/repos/TETRA2000/k-9/pulls{/number}","milestones_url":"https://api.github.com/repos/TETRA2000/k-9/milestones{/number}","notifications_url":"https://api.github.com/repos/TETRA2000/k-9/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TETRA2000/k-9/labels{/name}","releases_url":"https://api.github.com/repos/TETRA2000/k-9/releases{/id}","created_at":"2016-01-13T15:32:22Z","updated_at":"2016-01-13T15:32:27Z","pushed_at":"2016-01-14T23:14:58Z","git_url":"git://github.com/TETRA2000/k-9.git","ssh_url":"git@github.com:TETRA2000/k-9.git","clone_url":"https://github.com/TETRA2000/k-9.git","svn_url":"https://github.com/TETRA2000/k-9","homepage":"","size":35956,"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":"k9mail:master","ref":"master","sha":"b30ee72d76bd7cd15285c7425b2c5899d3f3c999","user":{"login":"k9mail","id":567044,"avatar_url":"https://avatars.githubusercontent.com/u/567044?v=3","gravatar_id":"","url":"https://api.github.com/users/k9mail","html_url":"https://github.com/k9mail","followers_url":"https://api.github.com/users/k9mail/followers","following_url":"https://api.github.com/users/k9mail/following{/other_user}","gists_url":"https://api.github.com/users/k9mail/gists{/gist_id}","starred_url":"https://api.github.com/users/k9mail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k9mail/subscriptions","organizations_url":"https://api.github.com/users/k9mail/orgs","repos_url":"https://api.github.com/users/k9mail/repos","events_url":"https://api.github.com/users/k9mail/events{/privacy}","received_events_url":"https://api.github.com/users/k9mail/received_events","type":"Organization","site_admin":false},"repo":{"id":1326671,"name":"k-9","full_name":"k9mail/k-9","owner":{"login":"k9mail","id":567044,"avatar_url":"https://avatars.githubusercontent.com/u/567044?v=3","gravatar_id":"","url":"https://api.github.com/users/k9mail","html_url":"https://github.com/k9mail","followers_url":"https://api.github.com/users/k9mail/followers","following_url":"https://api.github.com/users/k9mail/following{/other_user}","gists_url":"https://api.github.com/users/k9mail/gists{/gist_id}","starred_url":"https://api.github.com/users/k9mail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k9mail/subscriptions","organizations_url":"https://api.github.com/users/k9mail/orgs","repos_url":"https://api.github.com/users/k9mail/repos","events_url":"https://api.github.com/users/k9mail/events{/privacy}","received_events_url":"https://api.github.com/users/k9mail/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/k9mail/k-9","description":"K-9 Mail – Advanced Email for Android","fork":false,"url":"https://api.github.com/repos/k9mail/k-9","forks_url":"https://api.github.com/repos/k9mail/k-9/forks","keys_url":"https://api.github.com/repos/k9mail/k-9/keys{/key_id}","collaborators_url":"https://api.github.com/repos/k9mail/k-9/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/k9mail/k-9/teams","hooks_url":"https://api.github.com/repos/k9mail/k-9/hooks","issue_events_url":"https://api.github.com/repos/k9mail/k-9/issues/events{/number}","events_url":"https://api.github.com/repos/k9mail/k-9/events","assignees_url":"https://api.github.com/repos/k9mail/k-9/assignees{/user}","branches_url":"https://api.github.com/repos/k9mail/k-9/branches{/branch}","tags_url":"https://api.github.com/repos/k9mail/k-9/tags","blobs_url":"https://api.github.com/repos/k9mail/k-9/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/k9mail/k-9/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/k9mail/k-9/git/refs{/sha}","trees_url":"https://api.github.com/repos/k9mail/k-9/git/trees{/sha}","statuses_url":"https://api.github.com/repos/k9mail/k-9/statuses/{sha}","languages_url":"https://api.github.com/repos/k9mail/k-9/languages","stargazers_url":"https://api.github.com/repos/k9mail/k-9/stargazers","contributors_url":"https://api.github.com/repos/k9mail/k-9/contributors","subscribers_url":"https://api.github.com/repos/k9mail/k-9/subscribers","subscription_url":"https://api.github.com/repos/k9mail/k-9/subscription","commits_url":"https://api.github.com/repos/k9mail/k-9/commits{/sha}","git_commits_url":"https://api.github.com/repos/k9mail/k-9/git/commits{/sha}","comments_url":"https://api.github.com/repos/k9mail/k-9/comments{/number}","issue_comment_url":"https://api.github.com/repos/k9mail/k-9/issues/comments{/number}","contents_url":"https://api.github.com/repos/k9mail/k-9/contents/{+path}","compare_url":"https://api.github.com/repos/k9mail/k-9/compare/{base}...{head}","merges_url":"https://api.github.com/repos/k9mail/k-9/merges","archive_url":"https://api.github.com/repos/k9mail/k-9/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/k9mail/k-9/downloads","issues_url":"https://api.github.com/repos/k9mail/k-9/issues{/number}","pulls_url":"https://api.github.com/repos/k9mail/k-9/pulls{/number}","milestones_url":"https://api.github.com/repos/k9mail/k-9/milestones{/number}","notifications_url":"https://api.github.com/repos/k9mail/k-9/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/k9mail/k-9/labels{/name}","releases_url":"https://api.github.com/repos/k9mail/k-9/releases{/id}","created_at":"2011-02-04T02:40:00Z","updated_at":"2016-01-14T08:43:23Z","pushed_at":"2016-01-15T09:50:59Z","git_url":"git://github.com/k9mail/k-9.git","ssh_url":"git@github.com:k9mail/k-9.git","clone_url":"https://github.com/k9mail/k-9.git","svn_url":"https://github.com/k9mail/k-9","homepage":"","size":46765,"stargazers_count":2324,"watchers_count":2324,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1332,"mirror_url":null,"open_issues_count":189,"forks":1332,"open_issues":189,"watchers":2324,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/k9mail/k-9/pulls/1021"},"html":{"href":"https://github.com/k9mail/k-9/pull/1021"},"issue":{"href":"https://api.github.com/repos/k9mail/k-9/issues/1021"},"comments":{"href":"https://api.github.com/repos/k9mail/k-9/issues/1021/comments"},"review_comments":{"href":"https://api.github.com/repos/k9mail/k-9/pulls/1021/comments"},"review_comment":{"href":"https://api.github.com/repos/k9mail/k-9/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/k9mail/k-9/pulls/1021/commits"},"statuses":{"href":"https://api.github.com/repos/k9mail/k-9/statuses/47a6d1bf27d79508081558715e4cbf97d9e7bf3b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"cketti","id":218061,"avatar_url":"https://avatars.githubusercontent.com/u/218061?v=3","gravatar_id":"","url":"https://api.github.com/users/cketti","html_url":"https://github.com/cketti","followers_url":"https://api.github.com/users/cketti/followers","following_url":"https://api.github.com/users/cketti/following{/other_user}","gists_url":"https://api.github.com/users/cketti/gists{/gist_id}","starred_url":"https://api.github.com/users/cketti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cketti/subscriptions","organizations_url":"https://api.github.com/users/cketti/orgs","repos_url":"https://api.github.com/users/cketti/repos","events_url":"https://api.github.com/users/cketti/events{/privacy}","received_events_url":"https://api.github.com/users/cketti/received_events","type":"User","site_admin":false},"comments":2,"review_comments":1,"commits":2,"additions":92,"deletions":7,"changed_files":7}}