{"action":"created","comment":{"url":"https://api.github.com/repos/googlesamples/google-services/pulls/comments/54618875","id":54618875,"diff_hunk":"@@ -64,6 +65,12 @@ public void onReceive(Context context, Intent intent) {\n         };\n         mInformationTextView = (TextView) findViewById(R.id.informationTextView);\n \n+        // Registering BroadcastReceiver\n+        LocalBroadcastManager.getInstance(this).registerReceiver(mRegistrationBroadcastReceiver,\n+                new IntentFilter(QuickstartPreferences.REGISTRATION_COMPLETE));\n+\n+        isReceiverRegistered =true;","path":"android/gcm/app/src/main/java/gcm/play/android/samples/com/gcmquickstart/MainActivity.java","position":16,"original_position":16,"commit_id":"360c743a2593eac1283fe758ec7b5ee05d367148","original_commit_id":"360c743a2593eac1283fe758ec7b5ee05d367148","user":{"login":"kroikie","id":2370200,"avatar_url":"https://avatars.githubusercontent.com/u/2370200?v=3","gravatar_id":"","url":"https://api.github.com/users/kroikie","html_url":"https://github.com/kroikie","followers_url":"https://api.github.com/users/kroikie/followers","following_url":"https://api.github.com/users/kroikie/following{/other_user}","gists_url":"https://api.github.com/users/kroikie/gists{/gist_id}","starred_url":"https://api.github.com/users/kroikie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kroikie/subscriptions","organizations_url":"https://api.github.com/users/kroikie/orgs","repos_url":"https://api.github.com/users/kroikie/repos","events_url":"https://api.github.com/users/kroikie/events{/privacy}","received_events_url":"https://api.github.com/users/kroikie/received_events","type":"User","site_admin":false},"body":"Please add a space between = and true","created_at":"2016-03-01T19:15:22Z","updated_at":"2016-03-01T19:15:22Z","html_url":"https://github.com/googlesamples/google-services/pull/174#discussion_r54618875","pull_request_url":"https://api.github.com/repos/googlesamples/google-services/pulls/174","_links":{"self":{"href":"https://api.github.com/repos/googlesamples/google-services/pulls/comments/54618875"},"html":{"href":"https://github.com/googlesamples/google-services/pull/174#discussion_r54618875"},"pull_request":{"href":"https://api.github.com/repos/googlesamples/google-services/pulls/174"}}},"pull_request":{"url":"https://api.github.com/repos/googlesamples/google-services/pulls/174","id":59879619,"html_url":"https://github.com/googlesamples/google-services/pull/174","diff_url":"https://github.com/googlesamples/google-services/pull/174.diff","patch_url":"https://github.com/googlesamples/google-services/pull/174.patch","issue_url":"https://api.github.com/repos/googlesamples/google-services/issues/174","number":174,"state":"open","locked":false,"title":"Progress bar keeps on running even after successful token generation","user":{"login":"navneetnks","id":10699819,"avatar_url":"https://avatars.githubusercontent.com/u/10699819?v=3","gravatar_id":"","url":"https://api.github.com/users/navneetnks","html_url":"https://github.com/navneetnks","followers_url":"https://api.github.com/users/navneetnks/followers","following_url":"https://api.github.com/users/navneetnks/following{/other_user}","gists_url":"https://api.github.com/users/navneetnks/gists{/gist_id}","starred_url":"https://api.github.com/users/navneetnks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/navneetnks/subscriptions","organizations_url":"https://api.github.com/users/navneetnks/orgs","repos_url":"https://api.github.com/users/navneetnks/repos","events_url":"https://api.github.com/users/navneetnks/events{/privacy}","received_events_url":"https://api.github.com/users/navneetnks/received_events","type":"User","site_admin":false},"body":"At few rare instances, broadcast message is sent before registration of the broadcast-receiver. Hence, on such instances, the ProgressBar keeps on running as broadcast-receiver never recieves the broadcast-message.\r\n\r\nFixed- Broadcast-receiver is resistered in onCreate method before hitting GCM-Registration-Service.","created_at":"2016-02-18T23:13:48Z","updated_at":"2016-03-01T19:15:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"25519cb3292aea7c1329733a1faaa261ccc93bd9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/googlesamples/google-services/pulls/174/commits","review_comments_url":"https://api.github.com/repos/googlesamples/google-services/pulls/174/comments","review_comment_url":"https://api.github.com/repos/googlesamples/google-services/pulls/comments{/number}","comments_url":"https://api.github.com/repos/googlesamples/google-services/issues/174/comments","statuses_url":"https://api.github.com/repos/googlesamples/google-services/statuses/360c743a2593eac1283fe758ec7b5ee05d367148","head":{"label":"navneetnks:master","ref":"master","sha":"360c743a2593eac1283fe758ec7b5ee05d367148","user":{"login":"navneetnks","id":10699819,"avatar_url":"https://avatars.githubusercontent.com/u/10699819?v=3","gravatar_id":"","url":"https://api.github.com/users/navneetnks","html_url":"https://github.com/navneetnks","followers_url":"https://api.github.com/users/navneetnks/followers","following_url":"https://api.github.com/users/navneetnks/following{/other_user}","gists_url":"https://api.github.com/users/navneetnks/gists{/gist_id}","starred_url":"https://api.github.com/users/navneetnks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/navneetnks/subscriptions","organizations_url":"https://api.github.com/users/navneetnks/orgs","repos_url":"https://api.github.com/users/navneetnks/repos","events_url":"https://api.github.com/users/navneetnks/events{/privacy}","received_events_url":"https://api.github.com/users/navneetnks/received_events","type":"User","site_admin":false},"repo":{"id":51431947,"name":"google-services","full_name":"navneetnks/google-services","owner":{"login":"navneetnks","id":10699819,"avatar_url":"https://avatars.githubusercontent.com/u/10699819?v=3","gravatar_id":"","url":"https://api.github.com/users/navneetnks","html_url":"https://github.com/navneetnks","followers_url":"https://api.github.com/users/navneetnks/followers","following_url":"https://api.github.com/users/navneetnks/following{/other_user}","gists_url":"https://api.github.com/users/navneetnks/gists{/gist_id}","starred_url":"https://api.github.com/users/navneetnks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/navneetnks/subscriptions","organizations_url":"https://api.github.com/users/navneetnks/orgs","repos_url":"https://api.github.com/users/navneetnks/repos","events_url":"https://api.github.com/users/navneetnks/events{/privacy}","received_events_url":"https://api.github.com/users/navneetnks/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/navneetnks/google-services","description":"A collection of quickstart samples demonstrating the Google APIs for Android and iOS","fork":true,"url":"https://api.github.com/repos/navneetnks/google-services","forks_url":"https://api.github.com/repos/navneetnks/google-services/forks","keys_url":"https://api.github.com/repos/navneetnks/google-services/keys{/key_id}","collaborators_url":"https://api.github.com/repos/navneetnks/google-services/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/navneetnks/google-services/teams","hooks_url":"https://api.github.com/repos/navneetnks/google-services/hooks","issue_events_url":"https://api.github.com/repos/navneetnks/google-services/issues/events{/number}","events_url":"https://api.github.com/repos/navneetnks/google-services/events","assignees_url":"https://api.github.com/repos/navneetnks/google-services/assignees{/user}","branches_url":"https://api.github.com/repos/navneetnks/google-services/branches{/branch}","tags_url":"https://api.github.com/repos/navneetnks/google-services/tags","blobs_url":"https://api.github.com/repos/navneetnks/google-services/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/navneetnks/google-services/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/navneetnks/google-services/git/refs{/sha}","trees_url":"https://api.github.com/repos/navneetnks/google-services/git/trees{/sha}","statuses_url":"https://api.github.com/repos/navneetnks/google-services/statuses/{sha}","languages_url":"https://api.github.com/repos/navneetnks/google-services/languages","stargazers_url":"https://api.github.com/repos/navneetnks/google-services/stargazers","contributors_url":"https://api.github.com/repos/navneetnks/google-services/contributors","subscribers_url":"https://api.github.com/repos/navneetnks/google-services/subscribers","subscription_url":"https://api.github.com/repos/navneetnks/google-services/subscription","commits_url":"https://api.github.com/repos/navneetnks/google-services/commits{/sha}","git_commits_url":"https://api.github.com/repos/navneetnks/google-services/git/commits{/sha}","comments_url":"https://api.github.com/repos/navneetnks/google-services/comments{/number}","issue_comment_url":"https://api.github.com/repos/navneetnks/google-services/issues/comments{/number}","contents_url":"https://api.github.com/repos/navneetnks/google-services/contents/{+path}","compare_url":"https://api.github.com/repos/navneetnks/google-services/compare/{base}...{head}","merges_url":"https://api.github.com/repos/navneetnks/google-services/merges","archive_url":"https://api.github.com/repos/navneetnks/google-services/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/navneetnks/google-services/downloads","issues_url":"https://api.github.com/repos/navneetnks/google-services/issues{/number}","pulls_url":"https://api.github.com/repos/navneetnks/google-services/pulls{/number}","milestones_url":"https://api.github.com/repos/navneetnks/google-services/milestones{/number}","notifications_url":"https://api.github.com/repos/navneetnks/google-services/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/navneetnks/google-services/labels{/name}","releases_url":"https://api.github.com/repos/navneetnks/google-services/releases{/id}","deployments_url":"https://api.github.com/repos/navneetnks/google-services/deployments","created_at":"2016-02-10T09:37:03Z","updated_at":"2016-02-10T09:37:05Z","pushed_at":"2016-02-18T22:17:08Z","git_url":"git://github.com/navneetnks/google-services.git","ssh_url":"git@github.com:navneetnks/google-services.git","clone_url":"https://github.com/navneetnks/google-services.git","svn_url":"https://github.com/navneetnks/google-services","homepage":"https://developers.google.com","size":8158,"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":"googlesamples:master","ref":"master","sha":"c307cf392a975e1a38596011b28a6951ba92cff5","user":{"login":"googlesamples","id":7378196,"avatar_url":"https://avatars.githubusercontent.com/u/7378196?v=3","gravatar_id":"","url":"https://api.github.com/users/googlesamples","html_url":"https://github.com/googlesamples","followers_url":"https://api.github.com/users/googlesamples/followers","following_url":"https://api.github.com/users/googlesamples/following{/other_user}","gists_url":"https://api.github.com/users/googlesamples/gists{/gist_id}","starred_url":"https://api.github.com/users/googlesamples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googlesamples/subscriptions","organizations_url":"https://api.github.com/users/googlesamples/orgs","repos_url":"https://api.github.com/users/googlesamples/repos","events_url":"https://api.github.com/users/googlesamples/events{/privacy}","received_events_url":"https://api.github.com/users/googlesamples/received_events","type":"Organization","site_admin":false},"repo":{"id":35978156,"name":"google-services","full_name":"googlesamples/google-services","owner":{"login":"googlesamples","id":7378196,"avatar_url":"https://avatars.githubusercontent.com/u/7378196?v=3","gravatar_id":"","url":"https://api.github.com/users/googlesamples","html_url":"https://github.com/googlesamples","followers_url":"https://api.github.com/users/googlesamples/followers","following_url":"https://api.github.com/users/googlesamples/following{/other_user}","gists_url":"https://api.github.com/users/googlesamples/gists{/gist_id}","starred_url":"https://api.github.com/users/googlesamples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googlesamples/subscriptions","organizations_url":"https://api.github.com/users/googlesamples/orgs","repos_url":"https://api.github.com/users/googlesamples/repos","events_url":"https://api.github.com/users/googlesamples/events{/privacy}","received_events_url":"https://api.github.com/users/googlesamples/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/googlesamples/google-services","description":"A collection of quickstart samples demonstrating the Google APIs for Android and iOS","fork":false,"url":"https://api.github.com/repos/googlesamples/google-services","forks_url":"https://api.github.com/repos/googlesamples/google-services/forks","keys_url":"https://api.github.com/repos/googlesamples/google-services/keys{/key_id}","collaborators_url":"https://api.github.com/repos/googlesamples/google-services/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/googlesamples/google-services/teams","hooks_url":"https://api.github.com/repos/googlesamples/google-services/hooks","issue_events_url":"https://api.github.com/repos/googlesamples/google-services/issues/events{/number}","events_url":"https://api.github.com/repos/googlesamples/google-services/events","assignees_url":"https://api.github.com/repos/googlesamples/google-services/assignees{/user}","branches_url":"https://api.github.com/repos/googlesamples/google-services/branches{/branch}","tags_url":"https://api.github.com/repos/googlesamples/google-services/tags","blobs_url":"https://api.github.com/repos/googlesamples/google-services/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/googlesamples/google-services/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/googlesamples/google-services/git/refs{/sha}","trees_url":"https://api.github.com/repos/googlesamples/google-services/git/trees{/sha}","statuses_url":"https://api.github.com/repos/googlesamples/google-services/statuses/{sha}","languages_url":"https://api.github.com/repos/googlesamples/google-services/languages","stargazers_url":"https://api.github.com/repos/googlesamples/google-services/stargazers","contributors_url":"https://api.github.com/repos/googlesamples/google-services/contributors","subscribers_url":"https://api.github.com/repos/googlesamples/google-services/subscribers","subscription_url":"https://api.github.com/repos/googlesamples/google-services/subscription","commits_url":"https://api.github.com/repos/googlesamples/google-services/commits{/sha}","git_commits_url":"https://api.github.com/repos/googlesamples/google-services/git/commits{/sha}","comments_url":"https://api.github.com/repos/googlesamples/google-services/comments{/number}","issue_comment_url":"https://api.github.com/repos/googlesamples/google-services/issues/comments{/number}","contents_url":"https://api.github.com/repos/googlesamples/google-services/contents/{+path}","compare_url":"https://api.github.com/repos/googlesamples/google-services/compare/{base}...{head}","merges_url":"https://api.github.com/repos/googlesamples/google-services/merges","archive_url":"https://api.github.com/repos/googlesamples/google-services/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/googlesamples/google-services/downloads","issues_url":"https://api.github.com/repos/googlesamples/google-services/issues{/number}","pulls_url":"https://api.github.com/repos/googlesamples/google-services/pulls{/number}","milestones_url":"https://api.github.com/repos/googlesamples/google-services/milestones{/number}","notifications_url":"https://api.github.com/repos/googlesamples/google-services/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/googlesamples/google-services/labels{/name}","releases_url":"https://api.github.com/repos/googlesamples/google-services/releases{/id}","deployments_url":"https://api.github.com/repos/googlesamples/google-services/deployments","created_at":"2015-05-20T22:45:11Z","updated_at":"2016-03-01T10:06:17Z","pushed_at":"2016-02-29T16:41:28Z","git_url":"git://github.com/googlesamples/google-services.git","ssh_url":"git@github.com:googlesamples/google-services.git","clone_url":"https://github.com/googlesamples/google-services.git","svn_url":"https://github.com/googlesamples/google-services","homepage":"https://developers.google.com","size":8501,"stargazers_count":872,"watchers_count":872,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1000,"mirror_url":null,"open_issues_count":24,"forks":1000,"open_issues":24,"watchers":872,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/googlesamples/google-services/pulls/174"},"html":{"href":"https://github.com/googlesamples/google-services/pull/174"},"issue":{"href":"https://api.github.com/repos/googlesamples/google-services/issues/174"},"comments":{"href":"https://api.github.com/repos/googlesamples/google-services/issues/174/comments"},"review_comments":{"href":"https://api.github.com/repos/googlesamples/google-services/pulls/174/comments"},"review_comment":{"href":"https://api.github.com/repos/googlesamples/google-services/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/googlesamples/google-services/pulls/174/commits"},"statuses":{"href":"https://api.github.com/repos/googlesamples/google-services/statuses/360c743a2593eac1283fe758ec7b5ee05d367148"}}}}