{"action":"created","comment":{"url":"https://api.github.com/repos/Glucosio/glucosio-android/pulls/comments/195694011","pull_request_review_id":129114568,"id":195694011,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTY5NDAxMQ==","diff_hunk":"@@ -415,31 +415,34 @@ public void openSupportDialog() {\n         builder.setItems(getResources().getStringArray(R.array.menu_support_options), new DialogInterface.OnClickListener() {\n             @Override\n             public void onClick(DialogInterface dialog, int which) {\n-                if (which == 0) {\n-                    // Email\n-                    Intent emailIntent = new Intent(Intent.ACTION_SENDTO, Uri.parse(\"mailto:hello@glucosio.org\"));\n-                    boolean activityExists = emailIntent.resolveActivityInfo(getPackageManager(), 0) != null;\n \n-                    if (activityExists) {\n-                        startActivity(emailIntent);\n-                    } else {\n-                        showSnackBar(getResources().getString(R.string.menu_support_error1), Snackbar.LENGTH_LONG);\n-                    }\n-                } else {\n-                    // Forum\n-                    String url = \"http://community.glucosio.org/\";\n-                    Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(url));\n-                    i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n-                    i.setPackage(\"com.android.chrome\");\n-                    try {\n-                        startActivity(i);\n-                    } catch (ActivityNotFoundException e) {\n-                        // Chrome is probably not installed\n-                        // Try with the default browser\n-                        i.setPackage(null);\n-                        startActivity(i);\n-                    }\n+//          E-mail support is no longer an option.","path":"app/src/main/java/org/glucosio/android/activity/MainActivity.java","position":28,"original_position":28,"commit_id":"f8485fddff52057e85de79c6d21d641d308b5c25","original_commit_id":"f8485fddff52057e85de79c6d21d641d308b5c25","user":{"login":"emartynov","id":295424,"node_id":"MDQ6VXNlcjI5NTQyNA==","avatar_url":"https://avatars1.githubusercontent.com/u/295424?v=4","gravatar_id":"","url":"https://api.github.com/users/emartynov","html_url":"https://github.com/emartynov","followers_url":"https://api.github.com/users/emartynov/followers","following_url":"https://api.github.com/users/emartynov/following{/other_user}","gists_url":"https://api.github.com/users/emartynov/gists{/gist_id}","starred_url":"https://api.github.com/users/emartynov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emartynov/subscriptions","organizations_url":"https://api.github.com/users/emartynov/orgs","repos_url":"https://api.github.com/users/emartynov/repos","events_url":"https://api.github.com/users/emartynov/events{/privacy}","received_events_url":"https://api.github.com/users/emartynov/received_events","type":"User","site_admin":false},"body":"Why keep commented code? If we need this code we can easily find it in the history","created_at":"2018-06-15T10:31:40Z","updated_at":"2018-06-15T10:33:36Z","html_url":"https://github.com/Glucosio/glucosio-android/pull/413#discussion_r195694011","pull_request_url":"https://api.github.com/repos/Glucosio/glucosio-android/pulls/413","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Glucosio/glucosio-android/pulls/comments/195694011"},"html":{"href":"https://github.com/Glucosio/glucosio-android/pull/413#discussion_r195694011"},"pull_request":{"href":"https://api.github.com/repos/Glucosio/glucosio-android/pulls/413"}}},"pull_request":{"url":"https://api.github.com/repos/Glucosio/glucosio-android/pulls/413","id":193293884,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzMjkzODg0","html_url":"https://github.com/Glucosio/glucosio-android/pull/413","diff_url":"https://github.com/Glucosio/glucosio-android/pull/413.diff","patch_url":"https://github.com/Glucosio/glucosio-android/pull/413.patch","issue_url":"https://api.github.com/repos/Glucosio/glucosio-android/issues/413","number":413,"state":"open","locked":false,"title":"Summary: Remove e-mail support as an option.","user":{"login":"chrispecoraro","id":307660,"node_id":"MDQ6VXNlcjMwNzY2MA==","avatar_url":"https://avatars2.githubusercontent.com/u/307660?v=4","gravatar_id":"","url":"https://api.github.com/users/chrispecoraro","html_url":"https://github.com/chrispecoraro","followers_url":"https://api.github.com/users/chrispecoraro/followers","following_url":"https://api.github.com/users/chrispecoraro/following{/other_user}","gists_url":"https://api.github.com/users/chrispecoraro/gists{/gist_id}","starred_url":"https://api.github.com/users/chrispecoraro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrispecoraro/subscriptions","organizations_url":"https://api.github.com/users/chrispecoraro/orgs","repos_url":"https://api.github.com/users/chrispecoraro/repos","events_url":"https://api.github.com/users/chrispecoraro/events{/privacy}","received_events_url":"https://api.github.com/users/chrispecoraro/received_events","type":"User","site_admin":false},"body":"- Remove from support menu.\r\n- Comment out related handler code.","created_at":"2018-06-07T11:48:11Z","updated_at":"2018-06-15T10:33:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3647f5cf4b39c6f558d1e253e8203cd96dd9a278","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Glucosio/glucosio-android/pulls/413/commits","review_comments_url":"https://api.github.com/repos/Glucosio/glucosio-android/pulls/413/comments","review_comment_url":"https://api.github.com/repos/Glucosio/glucosio-android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Glucosio/glucosio-android/issues/413/comments","statuses_url":"https://api.github.com/repos/Glucosio/glucosio-android/statuses/f8485fddff52057e85de79c6d21d641d308b5c25","head":{"label":"chrispecoraro:develop","ref":"develop","sha":"f8485fddff52057e85de79c6d21d641d308b5c25","user":{"login":"chrispecoraro","id":307660,"node_id":"MDQ6VXNlcjMwNzY2MA==","avatar_url":"https://avatars2.githubusercontent.com/u/307660?v=4","gravatar_id":"","url":"https://api.github.com/users/chrispecoraro","html_url":"https://github.com/chrispecoraro","followers_url":"https://api.github.com/users/chrispecoraro/followers","following_url":"https://api.github.com/users/chrispecoraro/following{/other_user}","gists_url":"https://api.github.com/users/chrispecoraro/gists{/gist_id}","starred_url":"https://api.github.com/users/chrispecoraro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrispecoraro/subscriptions","organizations_url":"https://api.github.com/users/chrispecoraro/orgs","repos_url":"https://api.github.com/users/chrispecoraro/repos","events_url":"https://api.github.com/users/chrispecoraro/events{/privacy}","received_events_url":"https://api.github.com/users/chrispecoraro/received_events","type":"User","site_admin":false},"repo":{"id":136464408,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY0NjQ0MDg=","name":"glucosio-android","full_name":"chrispecoraro/glucosio-android","owner":{"login":"chrispecoraro","id":307660,"node_id":"MDQ6VXNlcjMwNzY2MA==","avatar_url":"https://avatars2.githubusercontent.com/u/307660?v=4","gravatar_id":"","url":"https://api.github.com/users/chrispecoraro","html_url":"https://github.com/chrispecoraro","followers_url":"https://api.github.com/users/chrispecoraro/followers","following_url":"https://api.github.com/users/chrispecoraro/following{/other_user}","gists_url":"https://api.github.com/users/chrispecoraro/gists{/gist_id}","starred_url":"https://api.github.com/users/chrispecoraro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrispecoraro/subscriptions","organizations_url":"https://api.github.com/users/chrispecoraro/orgs","repos_url":"https://api.github.com/users/chrispecoraro/repos","events_url":"https://api.github.com/users/chrispecoraro/events{/privacy}","received_events_url":"https://api.github.com/users/chrispecoraro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chrispecoraro/glucosio-android","description":"Glucosio Android App","fork":true,"url":"https://api.github.com/repos/chrispecoraro/glucosio-android","forks_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/forks","keys_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/teams","hooks_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/hooks","issue_events_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/issues/events{/number}","events_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/events","assignees_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/assignees{/user}","branches_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/branches{/branch}","tags_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/tags","blobs_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/statuses/{sha}","languages_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/languages","stargazers_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/stargazers","contributors_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/contributors","subscribers_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/subscribers","subscription_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/subscription","commits_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/contents/{+path}","compare_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/merges","archive_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/downloads","issues_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/issues{/number}","pulls_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/pulls{/number}","milestones_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/milestones{/number}","notifications_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/labels{/name}","releases_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/releases{/id}","deployments_url":"https://api.github.com/repos/chrispecoraro/glucosio-android/deployments","created_at":"2018-06-07T10:59:27Z","updated_at":"2018-06-07T11:44:42Z","pushed_at":"2018-06-07T11:44:41Z","git_url":"git://github.com/chrispecoraro/glucosio-android.git","ssh_url":"git@github.com:chrispecoraro/glucosio-android.git","clone_url":"https://github.com/chrispecoraro/glucosio-android.git","svn_url":"https://github.com/chrispecoraro/glucosio-android","homepage":"","size":23564,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"Glucosio:develop","ref":"develop","sha":"03373fbd58336120721c04fc49b5c514da25c122","user":{"login":"Glucosio","id":12890580,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyODkwNTgw","avatar_url":"https://avatars3.githubusercontent.com/u/12890580?v=4","gravatar_id":"","url":"https://api.github.com/users/Glucosio","html_url":"https://github.com/Glucosio","followers_url":"https://api.github.com/users/Glucosio/followers","following_url":"https://api.github.com/users/Glucosio/following{/other_user}","gists_url":"https://api.github.com/users/Glucosio/gists{/gist_id}","starred_url":"https://api.github.com/users/Glucosio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Glucosio/subscriptions","organizations_url":"https://api.github.com/users/Glucosio/orgs","repos_url":"https://api.github.com/users/Glucosio/repos","events_url":"https://api.github.com/users/Glucosio/events{/privacy}","received_events_url":"https://api.github.com/users/Glucosio/received_events","type":"Organization","site_admin":false},"repo":{"id":37447498,"node_id":"MDEwOlJlcG9zaXRvcnkzNzQ0NzQ5OA==","name":"glucosio-android","full_name":"Glucosio/glucosio-android","owner":{"login":"Glucosio","id":12890580,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyODkwNTgw","avatar_url":"https://avatars3.githubusercontent.com/u/12890580?v=4","gravatar_id":"","url":"https://api.github.com/users/Glucosio","html_url":"https://github.com/Glucosio","followers_url":"https://api.github.com/users/Glucosio/followers","following_url":"https://api.github.com/users/Glucosio/following{/other_user}","gists_url":"https://api.github.com/users/Glucosio/gists{/gist_id}","starred_url":"https://api.github.com/users/Glucosio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Glucosio/subscriptions","organizations_url":"https://api.github.com/users/Glucosio/orgs","repos_url":"https://api.github.com/users/Glucosio/repos","events_url":"https://api.github.com/users/Glucosio/events{/privacy}","received_events_url":"https://api.github.com/users/Glucosio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Glucosio/glucosio-android","description":"Glucosio Android App","fork":false,"url":"https://api.github.com/repos/Glucosio/glucosio-android","forks_url":"https://api.github.com/repos/Glucosio/glucosio-android/forks","keys_url":"https://api.github.com/repos/Glucosio/glucosio-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Glucosio/glucosio-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Glucosio/glucosio-android/teams","hooks_url":"https://api.github.com/repos/Glucosio/glucosio-android/hooks","issue_events_url":"https://api.github.com/repos/Glucosio/glucosio-android/issues/events{/number}","events_url":"https://api.github.com/repos/Glucosio/glucosio-android/events","assignees_url":"https://api.github.com/repos/Glucosio/glucosio-android/assignees{/user}","branches_url":"https://api.github.com/repos/Glucosio/glucosio-android/branches{/branch}","tags_url":"https://api.github.com/repos/Glucosio/glucosio-android/tags","blobs_url":"https://api.github.com/repos/Glucosio/glucosio-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Glucosio/glucosio-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Glucosio/glucosio-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/Glucosio/glucosio-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Glucosio/glucosio-android/statuses/{sha}","languages_url":"https://api.github.com/repos/Glucosio/glucosio-android/languages","stargazers_url":"https://api.github.com/repos/Glucosio/glucosio-android/stargazers","contributors_url":"https://api.github.com/repos/Glucosio/glucosio-android/contributors","subscribers_url":"https://api.github.com/repos/Glucosio/glucosio-android/subscribers","subscription_url":"https://api.github.com/repos/Glucosio/glucosio-android/subscription","commits_url":"https://api.github.com/repos/Glucosio/glucosio-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/Glucosio/glucosio-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/Glucosio/glucosio-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/Glucosio/glucosio-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/Glucosio/glucosio-android/contents/{+path}","compare_url":"https://api.github.com/repos/Glucosio/glucosio-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Glucosio/glucosio-android/merges","archive_url":"https://api.github.com/repos/Glucosio/glucosio-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Glucosio/glucosio-android/downloads","issues_url":"https://api.github.com/repos/Glucosio/glucosio-android/issues{/number}","pulls_url":"https://api.github.com/repos/Glucosio/glucosio-android/pulls{/number}","milestones_url":"https://api.github.com/repos/Glucosio/glucosio-android/milestones{/number}","notifications_url":"https://api.github.com/repos/Glucosio/glucosio-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Glucosio/glucosio-android/labels{/name}","releases_url":"https://api.github.com/repos/Glucosio/glucosio-android/releases{/id}","deployments_url":"https://api.github.com/repos/Glucosio/glucosio-android/deployments","created_at":"2015-06-15T06:28:27Z","updated_at":"2018-06-15T10:30:34Z","pushed_at":"2018-06-15T10:30:37Z","git_url":"git://github.com/Glucosio/glucosio-android.git","ssh_url":"git@github.com:Glucosio/glucosio-android.git","clone_url":"https://github.com/Glucosio/glucosio-android.git","svn_url":"https://github.com/Glucosio/glucosio-android","homepage":"","size":23561,"stargazers_count":307,"watchers_count":307,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":154,"mirror_url":null,"archived":false,"open_issues_count":64,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":154,"open_issues":64,"watchers":307,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Glucosio/glucosio-android/pulls/413"},"html":{"href":"https://github.com/Glucosio/glucosio-android/pull/413"},"issue":{"href":"https://api.github.com/repos/Glucosio/glucosio-android/issues/413"},"comments":{"href":"https://api.github.com/repos/Glucosio/glucosio-android/issues/413/comments"},"review_comments":{"href":"https://api.github.com/repos/Glucosio/glucosio-android/pulls/413/comments"},"review_comment":{"href":"https://api.github.com/repos/Glucosio/glucosio-android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Glucosio/glucosio-android/pulls/413/commits"},"statuses":{"href":"https://api.github.com/repos/Glucosio/glucosio-android/statuses/f8485fddff52057e85de79c6d21d641d308b5c25"}},"author_association":"NONE"}}
{"actor":{"display_login":"emartynov"}}