{"action":"created","comment":{"url":"https://api.github.com/repos/CSSE497/pathfinder-android/pulls/comments/56771349","id":56771349,"diff_hunk":"@@ -0,0 +1,37 @@\n+package xyz.thepathfinder.www.chimneyswap;\n+\n+import android.content.Intent;\n+import android.os.Bundle;\n+import android.os.StrictMode;\n+import android.support.v7.app.AppCompatActivity;\n+\n+public class MainActivity extends AppCompatActivity {\n+\n+    public static final String PREFERENCES_FILE = \"xyz_thepathfinder_www_chimneyswap_preferences\";\n+    public static final String ID_TOKEN = \"id_token\";\n+    public static final String EMPLOYEE_ID = \"employee_id\";\n+\n+    @Override\n+    protected void onCreate(Bundle savedInstanceState) {\n+        super.onCreate(savedInstanceState);\n+        setContentView(R.layout.activity_main);\n+\n+        StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();\n+        StrictMode.setThreadPolicy(policy);\n+\n+        Runnable runnable = new Runnable() {\n+            @Override\n+            public void run() {\n+                try {\n+                    Thread.sleep(2000);","path":"examples/ChimneySwap/app/src/main/java/xyz/thepathfinder/www/chimneyswap/MainActivity.java","position":26,"original_position":26,"commit_id":"f6701c5a30a9153f86ffb69ca5423394293e67f9","original_commit_id":"f6701c5a30a9153f86ffb69ca5423394293e67f9","user":{"login":"robinsdm","id":8726531,"avatar_url":"https://avatars.githubusercontent.com/u/8726531?v=3","gravatar_id":"","url":"https://api.github.com/users/robinsdm","html_url":"https://github.com/robinsdm","followers_url":"https://api.github.com/users/robinsdm/followers","following_url":"https://api.github.com/users/robinsdm/following{/other_user}","gists_url":"https://api.github.com/users/robinsdm/gists{/gist_id}","starred_url":"https://api.github.com/users/robinsdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinsdm/subscriptions","organizations_url":"https://api.github.com/users/robinsdm/orgs","repos_url":"https://api.github.com/users/robinsdm/repos","events_url":"https://api.github.com/users/robinsdm/events{/privacy}","received_events_url":"https://api.github.com/users/robinsdm/received_events","type":"User","site_admin":false},"body":"It makes the pretty opening screen stay up for 2 seconds.","created_at":"2016-03-20T20:27:36Z","updated_at":"2016-03-20T20:27:36Z","html_url":"https://github.com/CSSE497/pathfinder-android/pull/35#discussion_r56771349","pull_request_url":"https://api.github.com/repos/CSSE497/pathfinder-android/pulls/35","_links":{"self":{"href":"https://api.github.com/repos/CSSE497/pathfinder-android/pulls/comments/56771349"},"html":{"href":"https://github.com/CSSE497/pathfinder-android/pull/35#discussion_r56771349"},"pull_request":{"href":"https://api.github.com/repos/CSSE497/pathfinder-android/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/CSSE497/pathfinder-android/pulls/35","id":63476554,"html_url":"https://github.com/CSSE497/pathfinder-android/pull/35","diff_url":"https://github.com/CSSE497/pathfinder-android/pull/35.diff","patch_url":"https://github.com/CSSE497/pathfinder-android/pull/35.patch","issue_url":"https://api.github.com/repos/CSSE497/pathfinder-android/issues/35","number":35,"state":"open","locked":false,"title":"Topic/chimney swap example","user":{"login":"robinsdm","id":8726531,"avatar_url":"https://avatars.githubusercontent.com/u/8726531?v=3","gravatar_id":"","url":"https://api.github.com/users/robinsdm","html_url":"https://github.com/robinsdm","followers_url":"https://api.github.com/users/robinsdm/followers","following_url":"https://api.github.com/users/robinsdm/following{/other_user}","gists_url":"https://api.github.com/users/robinsdm/gists{/gist_id}","starred_url":"https://api.github.com/users/robinsdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinsdm/subscriptions","organizations_url":"https://api.github.com/users/robinsdm/orgs","repos_url":"https://api.github.com/users/robinsdm/repos","events_url":"https://api.github.com/users/robinsdm/events{/privacy}","received_events_url":"https://api.github.com/users/robinsdm/received_events","type":"User","site_admin":false},"body":"\r\n","created_at":"2016-03-19T19:35:31Z","updated_at":"2016-03-20T20:27:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"93a809152b405e273e69dafbedd07b9790199cf4","assignee":{"login":"aj-michael","id":7756476,"avatar_url":"https://avatars.githubusercontent.com/u/7756476?v=3","gravatar_id":"","url":"https://api.github.com/users/aj-michael","html_url":"https://github.com/aj-michael","followers_url":"https://api.github.com/users/aj-michael/followers","following_url":"https://api.github.com/users/aj-michael/following{/other_user}","gists_url":"https://api.github.com/users/aj-michael/gists{/gist_id}","starred_url":"https://api.github.com/users/aj-michael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aj-michael/subscriptions","organizations_url":"https://api.github.com/users/aj-michael/orgs","repos_url":"https://api.github.com/users/aj-michael/repos","events_url":"https://api.github.com/users/aj-michael/events{/privacy}","received_events_url":"https://api.github.com/users/aj-michael/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/CSSE497/pathfinder-android/milestones/2","html_url":"https://github.com/CSSE497/pathfinder-android/milestones/Sprint%2011%20(3/9%20-%203/23)","labels_url":"https://api.github.com/repos/CSSE497/pathfinder-android/milestones/2/labels","id":1634903,"number":2,"title":"Sprint 11 (3/9 - 3/23)","description":"","creator":{"login":"danhanson","id":8070751,"avatar_url":"https://avatars.githubusercontent.com/u/8070751?v=3","gravatar_id":"","url":"https://api.github.com/users/danhanson","html_url":"https://github.com/danhanson","followers_url":"https://api.github.com/users/danhanson/followers","following_url":"https://api.github.com/users/danhanson/following{/other_user}","gists_url":"https://api.github.com/users/danhanson/gists{/gist_id}","starred_url":"https://api.github.com/users/danhanson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danhanson/subscriptions","organizations_url":"https://api.github.com/users/danhanson/orgs","repos_url":"https://api.github.com/users/danhanson/repos","events_url":"https://api.github.com/users/danhanson/events{/privacy}","received_events_url":"https://api.github.com/users/danhanson/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":5,"state":"open","created_at":"2016-03-09T17:56:01Z","updated_at":"2016-03-19T19:35:35Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/CSSE497/pathfinder-android/pulls/35/commits","review_comments_url":"https://api.github.com/repos/CSSE497/pathfinder-android/pulls/35/comments","review_comment_url":"https://api.github.com/repos/CSSE497/pathfinder-android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CSSE497/pathfinder-android/issues/35/comments","statuses_url":"https://api.github.com/repos/CSSE497/pathfinder-android/statuses/f6701c5a30a9153f86ffb69ca5423394293e67f9","head":{"label":"CSSE497:topic/chimney-swap-example","ref":"topic/chimney-swap-example","sha":"f6701c5a30a9153f86ffb69ca5423394293e67f9","user":{"login":"CSSE497","id":14083993,"avatar_url":"https://avatars.githubusercontent.com/u/14083993?v=3","gravatar_id":"","url":"https://api.github.com/users/CSSE497","html_url":"https://github.com/CSSE497","followers_url":"https://api.github.com/users/CSSE497/followers","following_url":"https://api.github.com/users/CSSE497/following{/other_user}","gists_url":"https://api.github.com/users/CSSE497/gists{/gist_id}","starred_url":"https://api.github.com/users/CSSE497/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSSE497/subscriptions","organizations_url":"https://api.github.com/users/CSSE497/orgs","repos_url":"https://api.github.com/users/CSSE497/repos","events_url":"https://api.github.com/users/CSSE497/events{/privacy}","received_events_url":"https://api.github.com/users/CSSE497/received_events","type":"Organization","site_admin":false},"repo":{"id":41895928,"name":"pathfinder-android","full_name":"CSSE497/pathfinder-android","owner":{"login":"CSSE497","id":14083993,"avatar_url":"https://avatars.githubusercontent.com/u/14083993?v=3","gravatar_id":"","url":"https://api.github.com/users/CSSE497","html_url":"https://github.com/CSSE497","followers_url":"https://api.github.com/users/CSSE497/followers","following_url":"https://api.github.com/users/CSSE497/following{/other_user}","gists_url":"https://api.github.com/users/CSSE497/gists{/gist_id}","starred_url":"https://api.github.com/users/CSSE497/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSSE497/subscriptions","organizations_url":"https://api.github.com/users/CSSE497/orgs","repos_url":"https://api.github.com/users/CSSE497/repos","events_url":"https://api.github.com/users/CSSE497/events{/privacy}","received_events_url":"https://api.github.com/users/CSSE497/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CSSE497/pathfinder-android","description":"An Android client wrapper around the Pathfinder web service.","fork":false,"url":"https://api.github.com/repos/CSSE497/pathfinder-android","forks_url":"https://api.github.com/repos/CSSE497/pathfinder-android/forks","keys_url":"https://api.github.com/repos/CSSE497/pathfinder-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CSSE497/pathfinder-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CSSE497/pathfinder-android/teams","hooks_url":"https://api.github.com/repos/CSSE497/pathfinder-android/hooks","issue_events_url":"https://api.github.com/repos/CSSE497/pathfinder-android/issues/events{/number}","events_url":"https://api.github.com/repos/CSSE497/pathfinder-android/events","assignees_url":"https://api.github.com/repos/CSSE497/pathfinder-android/assignees{/user}","branches_url":"https://api.github.com/repos/CSSE497/pathfinder-android/branches{/branch}","tags_url":"https://api.github.com/repos/CSSE497/pathfinder-android/tags","blobs_url":"https://api.github.com/repos/CSSE497/pathfinder-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CSSE497/pathfinder-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CSSE497/pathfinder-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/CSSE497/pathfinder-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CSSE497/pathfinder-android/statuses/{sha}","languages_url":"https://api.github.com/repos/CSSE497/pathfinder-android/languages","stargazers_url":"https://api.github.com/repos/CSSE497/pathfinder-android/stargazers","contributors_url":"https://api.github.com/repos/CSSE497/pathfinder-android/contributors","subscribers_url":"https://api.github.com/repos/CSSE497/pathfinder-android/subscribers","subscription_url":"https://api.github.com/repos/CSSE497/pathfinder-android/subscription","commits_url":"https://api.github.com/repos/CSSE497/pathfinder-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/CSSE497/pathfinder-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/CSSE497/pathfinder-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/CSSE497/pathfinder-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/CSSE497/pathfinder-android/contents/{+path}","compare_url":"https://api.github.com/repos/CSSE497/pathfinder-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CSSE497/pathfinder-android/merges","archive_url":"https://api.github.com/repos/CSSE497/pathfinder-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CSSE497/pathfinder-android/downloads","issues_url":"https://api.github.com/repos/CSSE497/pathfinder-android/issues{/number}","pulls_url":"https://api.github.com/repos/CSSE497/pathfinder-android/pulls{/number}","milestones_url":"https://api.github.com/repos/CSSE497/pathfinder-android/milestones{/number}","notifications_url":"https://api.github.com/repos/CSSE497/pathfinder-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CSSE497/pathfinder-android/labels{/name}","releases_url":"https://api.github.com/repos/CSSE497/pathfinder-android/releases{/id}","deployments_url":"https://api.github.com/repos/CSSE497/pathfinder-android/deployments","created_at":"2015-09-04T03:27:52Z","updated_at":"2016-01-12T00:33:25Z","pushed_at":"2016-03-19T19:35:32Z","git_url":"git://github.com/CSSE497/pathfinder-android.git","ssh_url":"git@github.com:CSSE497/pathfinder-android.git","clone_url":"https://github.com/CSSE497/pathfinder-android.git","svn_url":"https://github.com/CSSE497/pathfinder-android","homepage":null,"size":509,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"dev"}},"base":{"label":"CSSE497:dev","ref":"dev","sha":"010044964a6d368e99ac889f1db0344fc5d7dee2","user":{"login":"CSSE497","id":14083993,"avatar_url":"https://avatars.githubusercontent.com/u/14083993?v=3","gravatar_id":"","url":"https://api.github.com/users/CSSE497","html_url":"https://github.com/CSSE497","followers_url":"https://api.github.com/users/CSSE497/followers","following_url":"https://api.github.com/users/CSSE497/following{/other_user}","gists_url":"https://api.github.com/users/CSSE497/gists{/gist_id}","starred_url":"https://api.github.com/users/CSSE497/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSSE497/subscriptions","organizations_url":"https://api.github.com/users/CSSE497/orgs","repos_url":"https://api.github.com/users/CSSE497/repos","events_url":"https://api.github.com/users/CSSE497/events{/privacy}","received_events_url":"https://api.github.com/users/CSSE497/received_events","type":"Organization","site_admin":false},"repo":{"id":41895928,"name":"pathfinder-android","full_name":"CSSE497/pathfinder-android","owner":{"login":"CSSE497","id":14083993,"avatar_url":"https://avatars.githubusercontent.com/u/14083993?v=3","gravatar_id":"","url":"https://api.github.com/users/CSSE497","html_url":"https://github.com/CSSE497","followers_url":"https://api.github.com/users/CSSE497/followers","following_url":"https://api.github.com/users/CSSE497/following{/other_user}","gists_url":"https://api.github.com/users/CSSE497/gists{/gist_id}","starred_url":"https://api.github.com/users/CSSE497/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSSE497/subscriptions","organizations_url":"https://api.github.com/users/CSSE497/orgs","repos_url":"https://api.github.com/users/CSSE497/repos","events_url":"https://api.github.com/users/CSSE497/events{/privacy}","received_events_url":"https://api.github.com/users/CSSE497/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CSSE497/pathfinder-android","description":"An Android client wrapper around the Pathfinder web service.","fork":false,"url":"https://api.github.com/repos/CSSE497/pathfinder-android","forks_url":"https://api.github.com/repos/CSSE497/pathfinder-android/forks","keys_url":"https://api.github.com/repos/CSSE497/pathfinder-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CSSE497/pathfinder-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CSSE497/pathfinder-android/teams","hooks_url":"https://api.github.com/repos/CSSE497/pathfinder-android/hooks","issue_events_url":"https://api.github.com/repos/CSSE497/pathfinder-android/issues/events{/number}","events_url":"https://api.github.com/repos/CSSE497/pathfinder-android/events","assignees_url":"https://api.github.com/repos/CSSE497/pathfinder-android/assignees{/user}","branches_url":"https://api.github.com/repos/CSSE497/pathfinder-android/branches{/branch}","tags_url":"https://api.github.com/repos/CSSE497/pathfinder-android/tags","blobs_url":"https://api.github.com/repos/CSSE497/pathfinder-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CSSE497/pathfinder-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CSSE497/pathfinder-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/CSSE497/pathfinder-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CSSE497/pathfinder-android/statuses/{sha}","languages_url":"https://api.github.com/repos/CSSE497/pathfinder-android/languages","stargazers_url":"https://api.github.com/repos/CSSE497/pathfinder-android/stargazers","contributors_url":"https://api.github.com/repos/CSSE497/pathfinder-android/contributors","subscribers_url":"https://api.github.com/repos/CSSE497/pathfinder-android/subscribers","subscription_url":"https://api.github.com/repos/CSSE497/pathfinder-android/subscription","commits_url":"https://api.github.com/repos/CSSE497/pathfinder-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/CSSE497/pathfinder-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/CSSE497/pathfinder-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/CSSE497/pathfinder-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/CSSE497/pathfinder-android/contents/{+path}","compare_url":"https://api.github.com/repos/CSSE497/pathfinder-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CSSE497/pathfinder-android/merges","archive_url":"https://api.github.com/repos/CSSE497/pathfinder-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CSSE497/pathfinder-android/downloads","issues_url":"https://api.github.com/repos/CSSE497/pathfinder-android/issues{/number}","pulls_url":"https://api.github.com/repos/CSSE497/pathfinder-android/pulls{/number}","milestones_url":"https://api.github.com/repos/CSSE497/pathfinder-android/milestones{/number}","notifications_url":"https://api.github.com/repos/CSSE497/pathfinder-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CSSE497/pathfinder-android/labels{/name}","releases_url":"https://api.github.com/repos/CSSE497/pathfinder-android/releases{/id}","deployments_url":"https://api.github.com/repos/CSSE497/pathfinder-android/deployments","created_at":"2015-09-04T03:27:52Z","updated_at":"2016-01-12T00:33:25Z","pushed_at":"2016-03-19T19:35:32Z","git_url":"git://github.com/CSSE497/pathfinder-android.git","ssh_url":"git@github.com:CSSE497/pathfinder-android.git","clone_url":"https://github.com/CSSE497/pathfinder-android.git","svn_url":"https://github.com/CSSE497/pathfinder-android","homepage":null,"size":509,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/CSSE497/pathfinder-android/pulls/35"},"html":{"href":"https://github.com/CSSE497/pathfinder-android/pull/35"},"issue":{"href":"https://api.github.com/repos/CSSE497/pathfinder-android/issues/35"},"comments":{"href":"https://api.github.com/repos/CSSE497/pathfinder-android/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/CSSE497/pathfinder-android/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/CSSE497/pathfinder-android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CSSE497/pathfinder-android/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/CSSE497/pathfinder-android/statuses/f6701c5a30a9153f86ffb69ca5423394293e67f9"}}}}