{"action":"created","comment":{"url":"https://api.github.com/repos/adjust/android_sdk/pulls/comments/56998832","id":56998832,"diff_hunk":"@@ -236,7 +244,11 @@ public void setOfflineMode(boolean offline) {\n         this.offline = offline;\n \n         if (activityState == null) {\n-            trackSubsessionStart();\n+            updateStatus(!enabled,","path":"Adjust/adjust/src/main/java/com/adjust/sdk/ActivityHandler.java","position":48,"original_position":48,"commit_id":"22574500f49e0d1aba92877f1d9d8568560c4865","original_commit_id":"22574500f49e0d1aba92877f1d9d8568560c4865","user":{"login":"nonelse","id":1449604,"avatar_url":"https://avatars.githubusercontent.com/u/1449604?v=3","gravatar_id":"","url":"https://api.github.com/users/nonelse","html_url":"https://github.com/nonelse","followers_url":"https://api.github.com/users/nonelse/followers","following_url":"https://api.github.com/users/nonelse/following{/other_user}","gists_url":"https://api.github.com/users/nonelse/gists{/gist_id}","starred_url":"https://api.github.com/users/nonelse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nonelse/subscriptions","organizations_url":"https://api.github.com/users/nonelse/orgs","repos_url":"https://api.github.com/users/nonelse/repos","events_url":"https://api.github.com/users/nonelse/events{/privacy}","received_events_url":"https://api.github.com/users/nonelse/received_events","type":"User","site_admin":false},"body":"@adjust/copy","created_at":"2016-03-22T14:49:04Z","updated_at":"2016-03-22T14:49:04Z","html_url":"https://github.com/adjust/android_sdk/pull/183#discussion_r56998832","pull_request_url":"https://api.github.com/repos/adjust/android_sdk/pulls/183","_links":{"self":{"href":"https://api.github.com/repos/adjust/android_sdk/pulls/comments/56998832"},"html":{"href":"https://github.com/adjust/android_sdk/pull/183#discussion_r56998832"},"pull_request":{"href":"https://api.github.com/repos/adjust/android_sdk/pulls/183"}}},"pull_request":{"url":"https://api.github.com/repos/adjust/android_sdk/pulls/183","id":63583474,"html_url":"https://github.com/adjust/android_sdk/pull/183","diff_url":"https://github.com/adjust/android_sdk/pull/183.diff","patch_url":"https://github.com/adjust/android_sdk/pull/183.patch","issue_url":"https://api.github.com/repos/adjust/android_sdk/issues/183","number":183,"state":"open","locked":false,"title":"Cpu info, send background, service activity ","user":{"login":"nonelse","id":1449604,"avatar_url":"https://avatars.githubusercontent.com/u/1449604?v=3","gravatar_id":"","url":"https://api.github.com/users/nonelse","html_url":"https://github.com/nonelse","followers_url":"https://api.github.com/users/nonelse/followers","following_url":"https://api.github.com/users/nonelse/following{/other_user}","gists_url":"https://api.github.com/users/nonelse/gists{/gist_id}","starred_url":"https://api.github.com/users/nonelse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nonelse/subscriptions","organizations_url":"https://api.github.com/users/nonelse/orgs","repos_url":"https://api.github.com/users/nonelse/repos","events_url":"https://api.github.com/users/nonelse/events{/privacy}","received_events_url":"https://api.github.com/users/nonelse/received_events","type":"User","site_admin":false},"body":" - Read new cpu info\r\n - New Activity that launches services\r\n - Send in the background","created_at":"2016-03-21T15:36:11Z","updated_at":"2016-03-22T14:49:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5aa44373aa48bc617d54296ffb599ab1263311ee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/adjust/android_sdk/pulls/183/commits","review_comments_url":"https://api.github.com/repos/adjust/android_sdk/pulls/183/comments","review_comment_url":"https://api.github.com/repos/adjust/android_sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adjust/android_sdk/issues/183/comments","statuses_url":"https://api.github.com/repos/adjust/android_sdk/statuses/22574500f49e0d1aba92877f1d9d8568560c4865","head":{"label":"adjust:service_activity","ref":"service_activity","sha":"22574500f49e0d1aba92877f1d9d8568560c4865","user":{"login":"adjust","id":1327203,"avatar_url":"https://avatars.githubusercontent.com/u/1327203?v=3","gravatar_id":"","url":"https://api.github.com/users/adjust","html_url":"https://github.com/adjust","followers_url":"https://api.github.com/users/adjust/followers","following_url":"https://api.github.com/users/adjust/following{/other_user}","gists_url":"https://api.github.com/users/adjust/gists{/gist_id}","starred_url":"https://api.github.com/users/adjust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adjust/subscriptions","organizations_url":"https://api.github.com/users/adjust/orgs","repos_url":"https://api.github.com/users/adjust/repos","events_url":"https://api.github.com/users/adjust/events{/privacy}","received_events_url":"https://api.github.com/users/adjust/received_events","type":"Organization","site_admin":false},"repo":{"id":6351071,"name":"android_sdk","full_name":"adjust/android_sdk","owner":{"login":"adjust","id":1327203,"avatar_url":"https://avatars.githubusercontent.com/u/1327203?v=3","gravatar_id":"","url":"https://api.github.com/users/adjust","html_url":"https://github.com/adjust","followers_url":"https://api.github.com/users/adjust/followers","following_url":"https://api.github.com/users/adjust/following{/other_user}","gists_url":"https://api.github.com/users/adjust/gists{/gist_id}","starred_url":"https://api.github.com/users/adjust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adjust/subscriptions","organizations_url":"https://api.github.com/users/adjust/orgs","repos_url":"https://api.github.com/users/adjust/repos","events_url":"https://api.github.com/users/adjust/events{/privacy}","received_events_url":"https://api.github.com/users/adjust/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adjust/android_sdk","description":"This is the Android SDK of","fork":false,"url":"https://api.github.com/repos/adjust/android_sdk","forks_url":"https://api.github.com/repos/adjust/android_sdk/forks","keys_url":"https://api.github.com/repos/adjust/android_sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adjust/android_sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adjust/android_sdk/teams","hooks_url":"https://api.github.com/repos/adjust/android_sdk/hooks","issue_events_url":"https://api.github.com/repos/adjust/android_sdk/issues/events{/number}","events_url":"https://api.github.com/repos/adjust/android_sdk/events","assignees_url":"https://api.github.com/repos/adjust/android_sdk/assignees{/user}","branches_url":"https://api.github.com/repos/adjust/android_sdk/branches{/branch}","tags_url":"https://api.github.com/repos/adjust/android_sdk/tags","blobs_url":"https://api.github.com/repos/adjust/android_sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adjust/android_sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adjust/android_sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/adjust/android_sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adjust/android_sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/adjust/android_sdk/languages","stargazers_url":"https://api.github.com/repos/adjust/android_sdk/stargazers","contributors_url":"https://api.github.com/repos/adjust/android_sdk/contributors","subscribers_url":"https://api.github.com/repos/adjust/android_sdk/subscribers","subscription_url":"https://api.github.com/repos/adjust/android_sdk/subscription","commits_url":"https://api.github.com/repos/adjust/android_sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/adjust/android_sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/adjust/android_sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/adjust/android_sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/adjust/android_sdk/contents/{+path}","compare_url":"https://api.github.com/repos/adjust/android_sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adjust/android_sdk/merges","archive_url":"https://api.github.com/repos/adjust/android_sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adjust/android_sdk/downloads","issues_url":"https://api.github.com/repos/adjust/android_sdk/issues{/number}","pulls_url":"https://api.github.com/repos/adjust/android_sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/adjust/android_sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/adjust/android_sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adjust/android_sdk/labels{/name}","releases_url":"https://api.github.com/repos/adjust/android_sdk/releases{/id}","deployments_url":"https://api.github.com/repos/adjust/android_sdk/deployments","created_at":"2012-10-23T11:19:15Z","updated_at":"2016-03-22T06:44:16Z","pushed_at":"2016-03-22T14:47:44Z","git_url":"git://github.com/adjust/android_sdk.git","ssh_url":"git@github.com:adjust/android_sdk.git","clone_url":"https://github.com/adjust/android_sdk.git","svn_url":"https://github.com/adjust/android_sdk","homepage":"http://www.adjust.com","size":3934,"stargazers_count":83,"watchers_count":83,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":86,"mirror_url":null,"open_issues_count":12,"forks":86,"open_issues":12,"watchers":83,"default_branch":"master"}},"base":{"label":"adjust:master","ref":"master","sha":"24c3b0bd2d57d0cbf70a01171d82900710cabf24","user":{"login":"adjust","id":1327203,"avatar_url":"https://avatars.githubusercontent.com/u/1327203?v=3","gravatar_id":"","url":"https://api.github.com/users/adjust","html_url":"https://github.com/adjust","followers_url":"https://api.github.com/users/adjust/followers","following_url":"https://api.github.com/users/adjust/following{/other_user}","gists_url":"https://api.github.com/users/adjust/gists{/gist_id}","starred_url":"https://api.github.com/users/adjust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adjust/subscriptions","organizations_url":"https://api.github.com/users/adjust/orgs","repos_url":"https://api.github.com/users/adjust/repos","events_url":"https://api.github.com/users/adjust/events{/privacy}","received_events_url":"https://api.github.com/users/adjust/received_events","type":"Organization","site_admin":false},"repo":{"id":6351071,"name":"android_sdk","full_name":"adjust/android_sdk","owner":{"login":"adjust","id":1327203,"avatar_url":"https://avatars.githubusercontent.com/u/1327203?v=3","gravatar_id":"","url":"https://api.github.com/users/adjust","html_url":"https://github.com/adjust","followers_url":"https://api.github.com/users/adjust/followers","following_url":"https://api.github.com/users/adjust/following{/other_user}","gists_url":"https://api.github.com/users/adjust/gists{/gist_id}","starred_url":"https://api.github.com/users/adjust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adjust/subscriptions","organizations_url":"https://api.github.com/users/adjust/orgs","repos_url":"https://api.github.com/users/adjust/repos","events_url":"https://api.github.com/users/adjust/events{/privacy}","received_events_url":"https://api.github.com/users/adjust/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adjust/android_sdk","description":"This is the Android SDK of","fork":false,"url":"https://api.github.com/repos/adjust/android_sdk","forks_url":"https://api.github.com/repos/adjust/android_sdk/forks","keys_url":"https://api.github.com/repos/adjust/android_sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adjust/android_sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adjust/android_sdk/teams","hooks_url":"https://api.github.com/repos/adjust/android_sdk/hooks","issue_events_url":"https://api.github.com/repos/adjust/android_sdk/issues/events{/number}","events_url":"https://api.github.com/repos/adjust/android_sdk/events","assignees_url":"https://api.github.com/repos/adjust/android_sdk/assignees{/user}","branches_url":"https://api.github.com/repos/adjust/android_sdk/branches{/branch}","tags_url":"https://api.github.com/repos/adjust/android_sdk/tags","blobs_url":"https://api.github.com/repos/adjust/android_sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adjust/android_sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adjust/android_sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/adjust/android_sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adjust/android_sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/adjust/android_sdk/languages","stargazers_url":"https://api.github.com/repos/adjust/android_sdk/stargazers","contributors_url":"https://api.github.com/repos/adjust/android_sdk/contributors","subscribers_url":"https://api.github.com/repos/adjust/android_sdk/subscribers","subscription_url":"https://api.github.com/repos/adjust/android_sdk/subscription","commits_url":"https://api.github.com/repos/adjust/android_sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/adjust/android_sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/adjust/android_sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/adjust/android_sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/adjust/android_sdk/contents/{+path}","compare_url":"https://api.github.com/repos/adjust/android_sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adjust/android_sdk/merges","archive_url":"https://api.github.com/repos/adjust/android_sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adjust/android_sdk/downloads","issues_url":"https://api.github.com/repos/adjust/android_sdk/issues{/number}","pulls_url":"https://api.github.com/repos/adjust/android_sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/adjust/android_sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/adjust/android_sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adjust/android_sdk/labels{/name}","releases_url":"https://api.github.com/repos/adjust/android_sdk/releases{/id}","deployments_url":"https://api.github.com/repos/adjust/android_sdk/deployments","created_at":"2012-10-23T11:19:15Z","updated_at":"2016-03-22T06:44:16Z","pushed_at":"2016-03-22T14:47:44Z","git_url":"git://github.com/adjust/android_sdk.git","ssh_url":"git@github.com:adjust/android_sdk.git","clone_url":"https://github.com/adjust/android_sdk.git","svn_url":"https://github.com/adjust/android_sdk","homepage":"http://www.adjust.com","size":3934,"stargazers_count":83,"watchers_count":83,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":86,"mirror_url":null,"open_issues_count":12,"forks":86,"open_issues":12,"watchers":83,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adjust/android_sdk/pulls/183"},"html":{"href":"https://github.com/adjust/android_sdk/pull/183"},"issue":{"href":"https://api.github.com/repos/adjust/android_sdk/issues/183"},"comments":{"href":"https://api.github.com/repos/adjust/android_sdk/issues/183/comments"},"review_comments":{"href":"https://api.github.com/repos/adjust/android_sdk/pulls/183/comments"},"review_comment":{"href":"https://api.github.com/repos/adjust/android_sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adjust/android_sdk/pulls/183/commits"},"statuses":{"href":"https://api.github.com/repos/adjust/android_sdk/statuses/22574500f49e0d1aba92877f1d9d8568560c4865"}}}}