{"action":"opened","number":139,"pull_request":{"url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/pulls/139","id":225362088,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1MzYyMDg4","html_url":"https://github.com/NordicSemiconductor/Android-DFU-Library/pull/139","diff_url":"https://github.com/NordicSemiconductor/Android-DFU-Library/pull/139.diff","patch_url":"https://github.com/NordicSemiconductor/Android-DFU-Library/pull/139.patch","issue_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/issues/139","number":139,"state":"open","locked":false,"title":"Handling Bluetooth off during upload","user":{"login":"philips77","id":6576580,"node_id":"MDQ6VXNlcjY1NzY1ODA=","avatar_url":"https://avatars0.githubusercontent.com/u/6576580?v=4","gravatar_id":"","url":"https://api.github.com/users/philips77","html_url":"https://github.com/philips77","followers_url":"https://api.github.com/users/philips77/followers","following_url":"https://api.github.com/users/philips77/following{/other_user}","gists_url":"https://api.github.com/users/philips77/gists{/gist_id}","starred_url":"https://api.github.com/users/philips77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philips77/subscriptions","organizations_url":"https://api.github.com/users/philips77/orgs","repos_url":"https://api.github.com/users/philips77/repos","events_url":"https://api.github.com/users/philips77/events{/privacy}","received_events_url":"https://api.github.com/users/philips77/received_events","type":"User","site_admin":false},"body":"This should fix #105. On some phones teh `onConnectionStateChanged` is not called when Bluetooth goes off. This PR adds a broadcast received that will close the DFU service in such case, as if the callback was received.","created_at":"2018-10-24T11:16:38Z","updated_at":"2018-10-24T11:16:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"philips77","id":6576580,"node_id":"MDQ6VXNlcjY1NzY1ODA=","avatar_url":"https://avatars0.githubusercontent.com/u/6576580?v=4","gravatar_id":"","url":"https://api.github.com/users/philips77","html_url":"https://github.com/philips77","followers_url":"https://api.github.com/users/philips77/followers","following_url":"https://api.github.com/users/philips77/following{/other_user}","gists_url":"https://api.github.com/users/philips77/gists{/gist_id}","starred_url":"https://api.github.com/users/philips77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philips77/subscriptions","organizations_url":"https://api.github.com/users/philips77/orgs","repos_url":"https://api.github.com/users/philips77/repos","events_url":"https://api.github.com/users/philips77/events{/privacy}","received_events_url":"https://api.github.com/users/philips77/received_events","type":"User","site_admin":false},"assignees":[{"login":"philips77","id":6576580,"node_id":"MDQ6VXNlcjY1NzY1ODA=","avatar_url":"https://avatars0.githubusercontent.com/u/6576580?v=4","gravatar_id":"","url":"https://api.github.com/users/philips77","html_url":"https://github.com/philips77","followers_url":"https://api.github.com/users/philips77/followers","following_url":"https://api.github.com/users/philips77/following{/other_user}","gists_url":"https://api.github.com/users/philips77/gists{/gist_id}","starred_url":"https://api.github.com/users/philips77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philips77/subscriptions","organizations_url":"https://api.github.com/users/philips77/orgs","repos_url":"https://api.github.com/users/philips77/repos","events_url":"https://api.github.com/users/philips77/events{/privacy}","received_events_url":"https://api.github.com/users/philips77/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/milestones/1","html_url":"https://github.com/NordicSemiconductor/Android-DFU-Library/milestone/1","labels_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/milestones/1/labels","id":3746079,"node_id":"MDk6TWlsZXN0b25lMzc0NjA3OQ==","number":1,"title":"Version 1.8.0","description":"","creator":{"login":"philips77","id":6576580,"node_id":"MDQ6VXNlcjY1NzY1ODA=","avatar_url":"https://avatars0.githubusercontent.com/u/6576580?v=4","gravatar_id":"","url":"https://api.github.com/users/philips77","html_url":"https://github.com/philips77","followers_url":"https://api.github.com/users/philips77/followers","following_url":"https://api.github.com/users/philips77/following{/other_user}","gists_url":"https://api.github.com/users/philips77/gists{/gist_id}","starred_url":"https://api.github.com/users/philips77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philips77/subscriptions","organizations_url":"https://api.github.com/users/philips77/orgs","repos_url":"https://api.github.com/users/philips77/repos","events_url":"https://api.github.com/users/philips77/events{/privacy}","received_events_url":"https://api.github.com/users/philips77/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":8,"state":"open","created_at":"2018-10-17T11:05:44Z","updated_at":"2018-10-24T11:16:38Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/pulls/139/commits","review_comments_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/pulls/139/comments","review_comment_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/issues/139/comments","statuses_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/statuses/0665a481a6750e229a3581476cc9556a6dea8b26","head":{"label":"NordicSemiconductor:bugfix/handing-buetooth-off","ref":"bugfix/handing-buetooth-off","sha":"0665a481a6750e229a3581476cc9556a6dea8b26","user":{"login":"NordicSemiconductor","id":33217104,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMjE3MTA0","avatar_url":"https://avatars2.githubusercontent.com/u/33217104?v=4","gravatar_id":"","url":"https://api.github.com/users/NordicSemiconductor","html_url":"https://github.com/NordicSemiconductor","followers_url":"https://api.github.com/users/NordicSemiconductor/followers","following_url":"https://api.github.com/users/NordicSemiconductor/following{/other_user}","gists_url":"https://api.github.com/users/NordicSemiconductor/gists{/gist_id}","starred_url":"https://api.github.com/users/NordicSemiconductor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NordicSemiconductor/subscriptions","organizations_url":"https://api.github.com/users/NordicSemiconductor/orgs","repos_url":"https://api.github.com/users/NordicSemiconductor/repos","events_url":"https://api.github.com/users/NordicSemiconductor/events{/privacy}","received_events_url":"https://api.github.com/users/NordicSemiconductor/received_events","type":"Organization","site_admin":false},"repo":{"id":30971472,"node_id":"MDEwOlJlcG9zaXRvcnkzMDk3MTQ3Mg==","name":"Android-DFU-Library","full_name":"NordicSemiconductor/Android-DFU-Library","private":false,"owner":{"login":"NordicSemiconductor","id":33217104,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMjE3MTA0","avatar_url":"https://avatars2.githubusercontent.com/u/33217104?v=4","gravatar_id":"","url":"https://api.github.com/users/NordicSemiconductor","html_url":"https://github.com/NordicSemiconductor","followers_url":"https://api.github.com/users/NordicSemiconductor/followers","following_url":"https://api.github.com/users/NordicSemiconductor/following{/other_user}","gists_url":"https://api.github.com/users/NordicSemiconductor/gists{/gist_id}","starred_url":"https://api.github.com/users/NordicSemiconductor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NordicSemiconductor/subscriptions","organizations_url":"https://api.github.com/users/NordicSemiconductor/orgs","repos_url":"https://api.github.com/users/NordicSemiconductor/repos","events_url":"https://api.github.com/users/NordicSemiconductor/events{/privacy}","received_events_url":"https://api.github.com/users/NordicSemiconductor/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/NordicSemiconductor/Android-DFU-Library","description":"A library with DFU feature for Android 4.3+.","fork":false,"url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library","forks_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/forks","keys_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/teams","hooks_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/hooks","issue_events_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/issues/events{/number}","events_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/events","assignees_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/assignees{/user}","branches_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/branches{/branch}","tags_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/tags","blobs_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/git/refs{/sha}","trees_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/statuses/{sha}","languages_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/languages","stargazers_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/stargazers","contributors_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/contributors","subscribers_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/subscribers","subscription_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/subscription","commits_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/commits{/sha}","git_commits_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/git/commits{/sha}","comments_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/comments{/number}","issue_comment_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/issues/comments{/number}","contents_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/contents/{+path}","compare_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/merges","archive_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/downloads","issues_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/issues{/number}","pulls_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/pulls{/number}","milestones_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/milestones{/number}","notifications_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/labels{/name}","releases_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/releases{/id}","deployments_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/deployments","created_at":"2015-02-18T15:31:26Z","updated_at":"2018-10-23T08:19:40Z","pushed_at":"2018-10-24T11:15:12Z","git_url":"git://github.com/NordicSemiconductor/Android-DFU-Library.git","ssh_url":"git@github.com:NordicSemiconductor/Android-DFU-Library.git","clone_url":"https://github.com/NordicSemiconductor/Android-DFU-Library.git","svn_url":"https://github.com/NordicSemiconductor/Android-DFU-Library","homepage":"http://www.nordicsemi.com/","size":2267,"stargazers_count":314,"watchers_count":314,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":146,"mirror_url":null,"archived":false,"open_issues_count":28,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":146,"open_issues":28,"watchers":314,"default_branch":"release"}},"base":{"label":"NordicSemiconductor:release","ref":"release","sha":"9eaf210a95157a4996621aa4ed91834e6aa642c0","user":{"login":"NordicSemiconductor","id":33217104,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMjE3MTA0","avatar_url":"https://avatars2.githubusercontent.com/u/33217104?v=4","gravatar_id":"","url":"https://api.github.com/users/NordicSemiconductor","html_url":"https://github.com/NordicSemiconductor","followers_url":"https://api.github.com/users/NordicSemiconductor/followers","following_url":"https://api.github.com/users/NordicSemiconductor/following{/other_user}","gists_url":"https://api.github.com/users/NordicSemiconductor/gists{/gist_id}","starred_url":"https://api.github.com/users/NordicSemiconductor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NordicSemiconductor/subscriptions","organizations_url":"https://api.github.com/users/NordicSemiconductor/orgs","repos_url":"https://api.github.com/users/NordicSemiconductor/repos","events_url":"https://api.github.com/users/NordicSemiconductor/events{/privacy}","received_events_url":"https://api.github.com/users/NordicSemiconductor/received_events","type":"Organization","site_admin":false},"repo":{"id":30971472,"node_id":"MDEwOlJlcG9zaXRvcnkzMDk3MTQ3Mg==","name":"Android-DFU-Library","full_name":"NordicSemiconductor/Android-DFU-Library","private":false,"owner":{"login":"NordicSemiconductor","id":33217104,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMjE3MTA0","avatar_url":"https://avatars2.githubusercontent.com/u/33217104?v=4","gravatar_id":"","url":"https://api.github.com/users/NordicSemiconductor","html_url":"https://github.com/NordicSemiconductor","followers_url":"https://api.github.com/users/NordicSemiconductor/followers","following_url":"https://api.github.com/users/NordicSemiconductor/following{/other_user}","gists_url":"https://api.github.com/users/NordicSemiconductor/gists{/gist_id}","starred_url":"https://api.github.com/users/NordicSemiconductor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NordicSemiconductor/subscriptions","organizations_url":"https://api.github.com/users/NordicSemiconductor/orgs","repos_url":"https://api.github.com/users/NordicSemiconductor/repos","events_url":"https://api.github.com/users/NordicSemiconductor/events{/privacy}","received_events_url":"https://api.github.com/users/NordicSemiconductor/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/NordicSemiconductor/Android-DFU-Library","description":"A library with DFU feature for Android 4.3+.","fork":false,"url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library","forks_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/forks","keys_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/teams","hooks_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/hooks","issue_events_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/issues/events{/number}","events_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/events","assignees_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/assignees{/user}","branches_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/branches{/branch}","tags_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/tags","blobs_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/git/refs{/sha}","trees_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/statuses/{sha}","languages_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/languages","stargazers_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/stargazers","contributors_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/contributors","subscribers_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/subscribers","subscription_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/subscription","commits_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/commits{/sha}","git_commits_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/git/commits{/sha}","comments_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/comments{/number}","issue_comment_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/issues/comments{/number}","contents_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/contents/{+path}","compare_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/merges","archive_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/downloads","issues_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/issues{/number}","pulls_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/pulls{/number}","milestones_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/milestones{/number}","notifications_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/labels{/name}","releases_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/releases{/id}","deployments_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/deployments","created_at":"2015-02-18T15:31:26Z","updated_at":"2018-10-23T08:19:40Z","pushed_at":"2018-10-24T11:15:12Z","git_url":"git://github.com/NordicSemiconductor/Android-DFU-Library.git","ssh_url":"git@github.com:NordicSemiconductor/Android-DFU-Library.git","clone_url":"https://github.com/NordicSemiconductor/Android-DFU-Library.git","svn_url":"https://github.com/NordicSemiconductor/Android-DFU-Library","homepage":"http://www.nordicsemi.com/","size":2267,"stargazers_count":314,"watchers_count":314,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":146,"mirror_url":null,"archived":false,"open_issues_count":28,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":146,"open_issues":28,"watchers":314,"default_branch":"release"}},"_links":{"self":{"href":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/pulls/139"},"html":{"href":"https://github.com/NordicSemiconductor/Android-DFU-Library/pull/139"},"issue":{"href":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/issues/139"},"comments":{"href":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/issues/139/comments"},"review_comments":{"href":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/pulls/139/comments"},"review_comment":{"href":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/pulls/139/commits"},"statuses":{"href":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/statuses/0665a481a6750e229a3581476cc9556a6dea8b26"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":21,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"philips77"}}