{"action":"created","comment":{"url":"https://api.github.com/repos/OneBusAway/onebusaway-android/pulls/comments/59414957","id":59414957,"diff_hunk":"@@ -428,13 +428,22 @@ public static void sendEmail(Context context, String email, String location) {\n             // Do nothing, perhaps we'll get to show it again? Or never.\n             return;\n         }\n+        String body;\n+        if (location != null) {\n+            body = context.getString(R.string.bug_report_body,\n+                    appInfo.versionName,\n+                    Build.MODEL,\n+                    Build.VERSION.RELEASE,\n+                    Build.VERSION.SDK_INT,\n+                    location);\n+        } else {\n+            body = context.getString(R.string.bug_report_body_without_location,\n+                    appInfo.versionName,\n+                    Build.MODEL,\n+                    Build.VERSION.RELEASE,\n+                    Build.VERSION.SDK_INT);\n+        }","path":"onebusaway-android/src/main/java/org/onebusaway/android/util/UIUtils.java","position":80,"original_position":18,"commit_id":"948b1ed9f001dbd01c71a77d9d7f78a3fe5d952b","original_commit_id":"948b1ed9f001dbd01c71a77d9d7f78a3fe5d952b","user":{"login":"cagryInside","id":2777974,"avatar_url":"https://avatars.githubusercontent.com/u/2777974?v=3","gravatar_id":"","url":"https://api.github.com/users/cagryInside","html_url":"https://github.com/cagryInside","followers_url":"https://api.github.com/users/cagryInside/followers","following_url":"https://api.github.com/users/cagryInside/following{/other_user}","gists_url":"https://api.github.com/users/cagryInside/gists{/gist_id}","starred_url":"https://api.github.com/users/cagryInside/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cagryInside/subscriptions","organizations_url":"https://api.github.com/users/cagryInside/orgs","repos_url":"https://api.github.com/users/cagryInside/repos","events_url":"https://api.github.com/users/cagryInside/events{/privacy}","received_events_url":"https://api.github.com/users/cagryInside/received_events","type":"User","site_admin":false},"body":"@barbeau We do not show `Loc` field if there is no location","created_at":"2016-04-12T17:15:41Z","updated_at":"2016-04-12T17:15:41Z","html_url":"https://github.com/OneBusAway/onebusaway-android/pull/392#discussion_r59414957","pull_request_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/pulls/392","_links":{"self":{"href":"https://api.github.com/repos/OneBusAway/onebusaway-android/pulls/comments/59414957"},"html":{"href":"https://github.com/OneBusAway/onebusaway-android/pull/392#discussion_r59414957"},"pull_request":{"href":"https://api.github.com/repos/OneBusAway/onebusaway-android/pulls/392"}}},"pull_request":{"url":"https://api.github.com/repos/OneBusAway/onebusaway-android/pulls/392","id":52276815,"html_url":"https://github.com/OneBusAway/onebusaway-android/pull/392","diff_url":"https://github.com/OneBusAway/onebusaway-android/pull/392.diff","patch_url":"https://github.com/OneBusAway/onebusaway-android/pull/392.patch","issue_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/issues/392","number":392,"state":"open","locked":false,"title":"Fix #187 - Issue reporting integration","user":{"login":"cagryInside","id":2777974,"avatar_url":"https://avatars.githubusercontent.com/u/2777974?v=3","gravatar_id":"","url":"https://api.github.com/users/cagryInside","html_url":"https://github.com/cagryInside","followers_url":"https://api.github.com/users/cagryInside/followers","following_url":"https://api.github.com/users/cagryInside/following{/other_user}","gists_url":"https://api.github.com/users/cagryInside/gists{/gist_id}","starred_url":"https://api.github.com/users/cagryInside/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cagryInside/subscriptions","organizations_url":"https://api.github.com/users/cagryInside/orgs","repos_url":"https://api.github.com/users/cagryInside/repos","events_url":"https://api.github.com/users/cagryInside/events{/privacy}","received_events_url":"https://api.github.com/users/cagryInside/received_events","type":"User","site_admin":false},"body":"This is the issue reporting enhancement implementation as described in (https://github.com/OneBusAway/onebusaway-android/issues/187). \r\n\r\nList of enhancements:\r\n* Open311 issue reporting specification (http://wiki.open311.org/GeoReport_v2/) was adopted and implemented as library project called [open311-client](https://github.com/CUTR-at-USF/open311-client).\r\n* Open311-client library was used to implement new issue reporting enhancements in OBA.\r\n* Integration with Open311-compliant reporting sites such as SeeClicFix.com.\r\n* New issue reporting flow\r\n\r\n\r\nSend Feedback section  |  Region Validation\r\n:-------------------------:|:-------------------------:\r\n![device-2015-12-01-104856](https://cloud.githubusercontent.com/assets/2777974/11505845/62ea73a0-981a-11e5-9e15-792dcd49650f.png) | ![device-2015-12-01-104956](https://cloud.githubusercontent.com/assets/2777974/11505849/69025762-981a-11e5-9731-9fcb18fdca14.png)\r\n\r\nSend Feedback Categories  |  Contact Customer Service\r\n:-------------------------:|:-------------------------:\r\n![device-2015-12-01-105040](https://cloud.githubusercontent.com/assets/2777974/11505868/855702be-981a-11e5-80dd-9aae515a583c.png) | ![device-2015-12-01-105655](https://cloud.githubusercontent.com/assets/2777974/11505883/934a9624-981a-11e5-8642-c9c6f47abb0c.png)\r\n\r\nInfrastructure issue reporting 1   | Infrastructure issue reporting 2\r\n:-------------------------:|:-------------------------:\r\n![device-2015-12-01-105156](https://cloud.githubusercontent.com/assets/2777974/11505917/b6908648-981a-11e5-8bdb-3a1a8a623668.png) | ![device-2015-12-01-105240](https://cloud.githubusercontent.com/assets/2777974/11505922/bb9cec80-981a-11e5-901b-ba3ba5e829d9.png)\r\n\r\nInfrastructure issue reporting 3   | Infrastructure issue reporting 4\r\n:-------------------------:|:-------------------------:\r\n![device-2015-12-01-105308](https://cloud.githubusercontent.com/assets/2777974/11505950/dca9fefe-981a-11e5-9cac-0f5842f8d57f.png) | ![device-2015-12-01-105351](https://cloud.githubusercontent.com/assets/2777974/11505957/e9528a54-981a-11e5-8ce1-d5f3315aec6b.png)\r\n\r\nInfrastructure issue reporting 5   | Submit an issue\r\n:-------------------------:|:-------------------------:\r\n![device-2015-12-01-105431](https://cloud.githubusercontent.com/assets/2777974/11505994/07b95eb4-981b-11e5-94e3-3d4a46724df7.png) | ![device-2015-12-01-105546](https://cloud.githubusercontent.com/assets/2777974/11505998/10838b00-981b-11e5-837b-066e5d07f26f.png)\r\n\r\n","created_at":"2015-12-01T16:03:29Z","updated_at":"2016-04-12T17:15:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"abbe2751cceccb0dff3c33779a6a4de494d7929f","assignee":null,"milestone":{"url":"https://api.github.com/repos/OneBusAway/onebusaway-android/milestones/1","html_url":"https://github.com/OneBusAway/onebusaway-android/milestones/Public%20v2.0.x%20release","labels_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/milestones/1/labels","id":1322936,"number":1,"title":"Public v2.0.x release","description":"A public release of version v2.0.x, which is currently available to the alpha testers.","creator":{"login":"barbeau","id":928045,"avatar_url":"https://avatars.githubusercontent.com/u/928045?v=3","gravatar_id":"","url":"https://api.github.com/users/barbeau","html_url":"https://github.com/barbeau","followers_url":"https://api.github.com/users/barbeau/followers","following_url":"https://api.github.com/users/barbeau/following{/other_user}","gists_url":"https://api.github.com/users/barbeau/gists{/gist_id}","starred_url":"https://api.github.com/users/barbeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbeau/subscriptions","organizations_url":"https://api.github.com/users/barbeau/orgs","repos_url":"https://api.github.com/users/barbeau/repos","events_url":"https://api.github.com/users/barbeau/events{/privacy}","received_events_url":"https://api.github.com/users/barbeau/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":83,"state":"open","created_at":"2015-09-24T21:47:47Z","updated_at":"2016-04-11T19:48:44Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/pulls/392/commits","review_comments_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/pulls/392/comments","review_comment_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/issues/392/comments","statuses_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/statuses/948b1ed9f001dbd01c71a77d9d7f78a3fe5d952b","head":{"label":"cagryInside:issue187-Reporting-rebase","ref":"issue187-Reporting-rebase","sha":"948b1ed9f001dbd01c71a77d9d7f78a3fe5d952b","user":{"login":"cagryInside","id":2777974,"avatar_url":"https://avatars.githubusercontent.com/u/2777974?v=3","gravatar_id":"","url":"https://api.github.com/users/cagryInside","html_url":"https://github.com/cagryInside","followers_url":"https://api.github.com/users/cagryInside/followers","following_url":"https://api.github.com/users/cagryInside/following{/other_user}","gists_url":"https://api.github.com/users/cagryInside/gists{/gist_id}","starred_url":"https://api.github.com/users/cagryInside/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cagryInside/subscriptions","organizations_url":"https://api.github.com/users/cagryInside/orgs","repos_url":"https://api.github.com/users/cagryInside/repos","events_url":"https://api.github.com/users/cagryInside/events{/privacy}","received_events_url":"https://api.github.com/users/cagryInside/received_events","type":"User","site_admin":false},"repo":{"id":28044896,"name":"onebusaway-android","full_name":"cagryInside/onebusaway-android","owner":{"login":"cagryInside","id":2777974,"avatar_url":"https://avatars.githubusercontent.com/u/2777974?v=3","gravatar_id":"","url":"https://api.github.com/users/cagryInside","html_url":"https://github.com/cagryInside","followers_url":"https://api.github.com/users/cagryInside/followers","following_url":"https://api.github.com/users/cagryInside/following{/other_user}","gists_url":"https://api.github.com/users/cagryInside/gists{/gist_id}","starred_url":"https://api.github.com/users/cagryInside/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cagryInside/subscriptions","organizations_url":"https://api.github.com/users/cagryInside/orgs","repos_url":"https://api.github.com/users/cagryInside/repos","events_url":"https://api.github.com/users/cagryInside/events{/privacy}","received_events_url":"https://api.github.com/users/cagryInside/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cagryInside/onebusaway-android","description":"The official Android app for OneBusAway.","fork":true,"url":"https://api.github.com/repos/cagryInside/onebusaway-android","forks_url":"https://api.github.com/repos/cagryInside/onebusaway-android/forks","keys_url":"https://api.github.com/repos/cagryInside/onebusaway-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cagryInside/onebusaway-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cagryInside/onebusaway-android/teams","hooks_url":"https://api.github.com/repos/cagryInside/onebusaway-android/hooks","issue_events_url":"https://api.github.com/repos/cagryInside/onebusaway-android/issues/events{/number}","events_url":"https://api.github.com/repos/cagryInside/onebusaway-android/events","assignees_url":"https://api.github.com/repos/cagryInside/onebusaway-android/assignees{/user}","branches_url":"https://api.github.com/repos/cagryInside/onebusaway-android/branches{/branch}","tags_url":"https://api.github.com/repos/cagryInside/onebusaway-android/tags","blobs_url":"https://api.github.com/repos/cagryInside/onebusaway-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cagryInside/onebusaway-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cagryInside/onebusaway-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/cagryInside/onebusaway-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cagryInside/onebusaway-android/statuses/{sha}","languages_url":"https://api.github.com/repos/cagryInside/onebusaway-android/languages","stargazers_url":"https://api.github.com/repos/cagryInside/onebusaway-android/stargazers","contributors_url":"https://api.github.com/repos/cagryInside/onebusaway-android/contributors","subscribers_url":"https://api.github.com/repos/cagryInside/onebusaway-android/subscribers","subscription_url":"https://api.github.com/repos/cagryInside/onebusaway-android/subscription","commits_url":"https://api.github.com/repos/cagryInside/onebusaway-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/cagryInside/onebusaway-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/cagryInside/onebusaway-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/cagryInside/onebusaway-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/cagryInside/onebusaway-android/contents/{+path}","compare_url":"https://api.github.com/repos/cagryInside/onebusaway-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cagryInside/onebusaway-android/merges","archive_url":"https://api.github.com/repos/cagryInside/onebusaway-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cagryInside/onebusaway-android/downloads","issues_url":"https://api.github.com/repos/cagryInside/onebusaway-android/issues{/number}","pulls_url":"https://api.github.com/repos/cagryInside/onebusaway-android/pulls{/number}","milestones_url":"https://api.github.com/repos/cagryInside/onebusaway-android/milestones{/number}","notifications_url":"https://api.github.com/repos/cagryInside/onebusaway-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cagryInside/onebusaway-android/labels{/name}","releases_url":"https://api.github.com/repos/cagryInside/onebusaway-android/releases{/id}","deployments_url":"https://api.github.com/repos/cagryInside/onebusaway-android/deployments","created_at":"2014-12-15T16:18:40Z","updated_at":"2015-03-05T20:54:55Z","pushed_at":"2016-04-12T17:13:48Z","git_url":"git://github.com/cagryInside/onebusaway-android.git","ssh_url":"git@github.com:cagryInside/onebusaway-android.git","clone_url":"https://github.com/cagryInside/onebusaway-android.git","svn_url":"https://github.com/cagryInside/onebusaway-android","homepage":"http://www.onebusaway.org/","size":11634,"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":"OneBusAway:master","ref":"master","sha":"577263efcb3488646f847dfb49b07add2b9a0013","user":{"login":"OneBusAway","id":1428806,"avatar_url":"https://avatars.githubusercontent.com/u/1428806?v=3","gravatar_id":"","url":"https://api.github.com/users/OneBusAway","html_url":"https://github.com/OneBusAway","followers_url":"https://api.github.com/users/OneBusAway/followers","following_url":"https://api.github.com/users/OneBusAway/following{/other_user}","gists_url":"https://api.github.com/users/OneBusAway/gists{/gist_id}","starred_url":"https://api.github.com/users/OneBusAway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OneBusAway/subscriptions","organizations_url":"https://api.github.com/users/OneBusAway/orgs","repos_url":"https://api.github.com/users/OneBusAway/repos","events_url":"https://api.github.com/users/OneBusAway/events{/privacy}","received_events_url":"https://api.github.com/users/OneBusAway/received_events","type":"Organization","site_admin":false},"repo":{"id":1873841,"name":"onebusaway-android","full_name":"OneBusAway/onebusaway-android","owner":{"login":"OneBusAway","id":1428806,"avatar_url":"https://avatars.githubusercontent.com/u/1428806?v=3","gravatar_id":"","url":"https://api.github.com/users/OneBusAway","html_url":"https://github.com/OneBusAway","followers_url":"https://api.github.com/users/OneBusAway/followers","following_url":"https://api.github.com/users/OneBusAway/following{/other_user}","gists_url":"https://api.github.com/users/OneBusAway/gists{/gist_id}","starred_url":"https://api.github.com/users/OneBusAway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OneBusAway/subscriptions","organizations_url":"https://api.github.com/users/OneBusAway/orgs","repos_url":"https://api.github.com/users/OneBusAway/repos","events_url":"https://api.github.com/users/OneBusAway/events{/privacy}","received_events_url":"https://api.github.com/users/OneBusAway/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OneBusAway/onebusaway-android","description":"The official Android/Fire Phone app for OneBusAway","fork":false,"url":"https://api.github.com/repos/OneBusAway/onebusaway-android","forks_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/forks","keys_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/teams","hooks_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/hooks","issue_events_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/issues/events{/number}","events_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/events","assignees_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/assignees{/user}","branches_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/branches{/branch}","tags_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/tags","blobs_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/statuses/{sha}","languages_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/languages","stargazers_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/stargazers","contributors_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/contributors","subscribers_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/subscribers","subscription_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/subscription","commits_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/contents/{+path}","compare_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/merges","archive_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/downloads","issues_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/issues{/number}","pulls_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/pulls{/number}","milestones_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/milestones{/number}","notifications_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/labels{/name}","releases_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/releases{/id}","deployments_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/deployments","created_at":"2011-06-10T01:07:10Z","updated_at":"2016-04-06T03:50:07Z","pushed_at":"2016-04-12T17:13:49Z","git_url":"git://github.com/OneBusAway/onebusaway-android.git","ssh_url":"git@github.com:OneBusAway/onebusaway-android.git","clone_url":"https://github.com/OneBusAway/onebusaway-android.git","svn_url":"https://github.com/OneBusAway/onebusaway-android","homepage":"http://www.onebusaway.org/","size":12671,"stargazers_count":128,"watchers_count":128,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":117,"mirror_url":null,"open_issues_count":74,"forks":117,"open_issues":74,"watchers":128,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OneBusAway/onebusaway-android/pulls/392"},"html":{"href":"https://github.com/OneBusAway/onebusaway-android/pull/392"},"issue":{"href":"https://api.github.com/repos/OneBusAway/onebusaway-android/issues/392"},"comments":{"href":"https://api.github.com/repos/OneBusAway/onebusaway-android/issues/392/comments"},"review_comments":{"href":"https://api.github.com/repos/OneBusAway/onebusaway-android/pulls/392/comments"},"review_comment":{"href":"https://api.github.com/repos/OneBusAway/onebusaway-android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OneBusAway/onebusaway-android/pulls/392/commits"},"statuses":{"href":"https://api.github.com/repos/OneBusAway/onebusaway-android/statuses/948b1ed9f001dbd01c71a77d9d7f78a3fe5d952b"}}}}