{"action":"created","comment":{"url":"https://api.github.com/repos/mixpanel/mixpanel-android/pulls/comments/30727119","id":30727119,"diff_hunk":"@@ -36,7 +35,9 @@ public void onActivityDestroyed(Activity activity) { }\n     public void onActivitySaveInstanceState(Activity activity, Bundle outState) { }\n \n     @Override\n-    public void onActivityResumed(Activity activity) { }\n+    public void onActivityResumed(Activity activity) {","path":"src/main/java/com/mixpanel/android/mpmetrics/MixpanelActivityLifecycleCallbacks.java","position":13,"original_position":13,"commit_id":"ee9b33b67fa0b5b9c007192c73e1e0745394bf21","original_commit_id":"ee9b33b67fa0b5b9c007192c73e1e0745394bf21","user":{"login":"yinfeiru","id":7267883,"avatar_url":"https://avatars.githubusercontent.com/u/7267883?v=3","gravatar_id":"","url":"https://api.github.com/users/yinfeiru","html_url":"https://github.com/yinfeiru","followers_url":"https://api.github.com/users/yinfeiru/followers","following_url":"https://api.github.com/users/yinfeiru/following{/other_user}","gists_url":"https://api.github.com/users/yinfeiru/gists{/gist_id}","starred_url":"https://api.github.com/users/yinfeiru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yinfeiru/subscriptions","organizations_url":"https://api.github.com/users/yinfeiru/orgs","repos_url":"https://api.github.com/users/yinfeiru/repos","events_url":"https://api.github.com/users/yinfeiru/events{/privacy}","received_events_url":"https://api.github.com/users/yinfeiru/received_events","type":"User","site_admin":false},"body":"If AutoShowMixpanelUpdates is set to false, this function won't be registered. Am I right?","created_at":"2015-05-20T17:32:59Z","updated_at":"2015-05-20T17:32:59Z","html_url":"https://github.com/mixpanel/mixpanel-android/pull/220#discussion_r30727119","pull_request_url":"https://api.github.com/repos/mixpanel/mixpanel-android/pulls/220","_links":{"self":{"href":"https://api.github.com/repos/mixpanel/mixpanel-android/pulls/comments/30727119"},"html":{"href":"https://github.com/mixpanel/mixpanel-android/pull/220#discussion_r30727119"},"pull_request":{"href":"https://api.github.com/repos/mixpanel/mixpanel-android/pulls/220"}}},"pull_request":{"url":"https://api.github.com/repos/mixpanel/mixpanel-android/pulls/220","id":35786083,"html_url":"https://github.com/mixpanel/mixpanel-android/pull/220","diff_url":"https://github.com/mixpanel/mixpanel-android/pull/220.diff","patch_url":"https://github.com/mixpanel/mixpanel-android/pull/220.patch","issue_url":"https://api.github.com/repos/mixpanel/mixpanel-android/issues/220","number":220,"state":"open","locked":false,"title":"Consider UX when applying Experiments","user":{"login":"joeatwork","id":106866,"avatar_url":"https://avatars.githubusercontent.com/u/106866?v=3","gravatar_id":"","url":"https://api.github.com/users/joeatwork","html_url":"https://github.com/joeatwork","followers_url":"https://api.github.com/users/joeatwork/followers","following_url":"https://api.github.com/users/joeatwork/following{/other_user}","gists_url":"https://api.github.com/users/joeatwork/gists{/gist_id}","starred_url":"https://api.github.com/users/joeatwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeatwork/subscriptions","organizations_url":"https://api.github.com/users/joeatwork/orgs","repos_url":"https://api.github.com/users/joeatwork/repos","events_url":"https://api.github.com/users/joeatwork/events{/privacy}","received_events_url":"https://api.github.com/users/joeatwork/received_events","type":"User","site_admin":false},"body":"Experiments will (by default) only be applied when an activity resumes.\r\nUsers of the library can also call joinExperimentIfAvailable to join\r\nwhenever they feel the UX is appropriate.","created_at":"2015-05-19T23:40:53Z","updated_at":"2015-05-20T17:32:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c2501c6c2a123d9a1d69c5e4e7c8e35043c6dfef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mixpanel/mixpanel-android/pulls/220/commits","review_comments_url":"https://api.github.com/repos/mixpanel/mixpanel-android/pulls/220/comments","review_comment_url":"https://api.github.com/repos/mixpanel/mixpanel-android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mixpanel/mixpanel-android/issues/220/comments","statuses_url":"https://api.github.com/repos/mixpanel/mixpanel-android/statuses/ee9b33b67fa0b5b9c007192c73e1e0745394bf21","head":{"label":"mixpanel:ab_test-apply-variants-timing","ref":"ab_test-apply-variants-timing","sha":"ee9b33b67fa0b5b9c007192c73e1e0745394bf21","user":{"login":"mixpanel","id":63653,"avatar_url":"https://avatars.githubusercontent.com/u/63653?v=3","gravatar_id":"","url":"https://api.github.com/users/mixpanel","html_url":"https://github.com/mixpanel","followers_url":"https://api.github.com/users/mixpanel/followers","following_url":"https://api.github.com/users/mixpanel/following{/other_user}","gists_url":"https://api.github.com/users/mixpanel/gists{/gist_id}","starred_url":"https://api.github.com/users/mixpanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mixpanel/subscriptions","organizations_url":"https://api.github.com/users/mixpanel/orgs","repos_url":"https://api.github.com/users/mixpanel/repos","events_url":"https://api.github.com/users/mixpanel/events{/privacy}","received_events_url":"https://api.github.com/users/mixpanel/received_events","type":"Organization","site_admin":false},"repo":{"id":818509,"name":"mixpanel-android","full_name":"mixpanel/mixpanel-android","owner":{"login":"mixpanel","id":63653,"avatar_url":"https://avatars.githubusercontent.com/u/63653?v=3","gravatar_id":"","url":"https://api.github.com/users/mixpanel","html_url":"https://github.com/mixpanel","followers_url":"https://api.github.com/users/mixpanel/followers","following_url":"https://api.github.com/users/mixpanel/following{/other_user}","gists_url":"https://api.github.com/users/mixpanel/gists{/gist_id}","starred_url":"https://api.github.com/users/mixpanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mixpanel/subscriptions","organizations_url":"https://api.github.com/users/mixpanel/orgs","repos_url":"https://api.github.com/users/mixpanel/repos","events_url":"https://api.github.com/users/mixpanel/events{/privacy}","received_events_url":"https://api.github.com/users/mixpanel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mixpanel/mixpanel-android","description":"An Android library for Mixpanel Analytics","fork":false,"url":"https://api.github.com/repos/mixpanel/mixpanel-android","forks_url":"https://api.github.com/repos/mixpanel/mixpanel-android/forks","keys_url":"https://api.github.com/repos/mixpanel/mixpanel-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mixpanel/mixpanel-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mixpanel/mixpanel-android/teams","hooks_url":"https://api.github.com/repos/mixpanel/mixpanel-android/hooks","issue_events_url":"https://api.github.com/repos/mixpanel/mixpanel-android/issues/events{/number}","events_url":"https://api.github.com/repos/mixpanel/mixpanel-android/events","assignees_url":"https://api.github.com/repos/mixpanel/mixpanel-android/assignees{/user}","branches_url":"https://api.github.com/repos/mixpanel/mixpanel-android/branches{/branch}","tags_url":"https://api.github.com/repos/mixpanel/mixpanel-android/tags","blobs_url":"https://api.github.com/repos/mixpanel/mixpanel-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mixpanel/mixpanel-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mixpanel/mixpanel-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/mixpanel/mixpanel-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mixpanel/mixpanel-android/statuses/{sha}","languages_url":"https://api.github.com/repos/mixpanel/mixpanel-android/languages","stargazers_url":"https://api.github.com/repos/mixpanel/mixpanel-android/stargazers","contributors_url":"https://api.github.com/repos/mixpanel/mixpanel-android/contributors","subscribers_url":"https://api.github.com/repos/mixpanel/mixpanel-android/subscribers","subscription_url":"https://api.github.com/repos/mixpanel/mixpanel-android/subscription","commits_url":"https://api.github.com/repos/mixpanel/mixpanel-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/mixpanel/mixpanel-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/mixpanel/mixpanel-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/mixpanel/mixpanel-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/mixpanel/mixpanel-android/contents/{+path}","compare_url":"https://api.github.com/repos/mixpanel/mixpanel-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mixpanel/mixpanel-android/merges","archive_url":"https://api.github.com/repos/mixpanel/mixpanel-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mixpanel/mixpanel-android/downloads","issues_url":"https://api.github.com/repos/mixpanel/mixpanel-android/issues{/number}","pulls_url":"https://api.github.com/repos/mixpanel/mixpanel-android/pulls{/number}","milestones_url":"https://api.github.com/repos/mixpanel/mixpanel-android/milestones{/number}","notifications_url":"https://api.github.com/repos/mixpanel/mixpanel-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mixpanel/mixpanel-android/labels{/name}","releases_url":"https://api.github.com/repos/mixpanel/mixpanel-android/releases{/id}","created_at":"2010-08-05T04:51:12Z","updated_at":"2015-05-10T16:57:01Z","pushed_at":"2015-05-19T23:43:49Z","git_url":"git://github.com/mixpanel/mixpanel-android.git","ssh_url":"git@github.com:mixpanel/mixpanel-android.git","clone_url":"https://github.com/mixpanel/mixpanel-android.git","svn_url":"https://github.com/mixpanel/mixpanel-android","homepage":"http://mixpanel.com/android-analytics/","size":31708,"stargazers_count":150,"watchers_count":150,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":98,"mirror_url":null,"open_issues_count":52,"forks":98,"open_issues":52,"watchers":150,"default_branch":"master"}},"base":{"label":"mixpanel:v4.5.4dev","ref":"v4.5.4dev","sha":"7731b2dba51fe7cb9b03ab249aa6234bda19d4eb","user":{"login":"mixpanel","id":63653,"avatar_url":"https://avatars.githubusercontent.com/u/63653?v=3","gravatar_id":"","url":"https://api.github.com/users/mixpanel","html_url":"https://github.com/mixpanel","followers_url":"https://api.github.com/users/mixpanel/followers","following_url":"https://api.github.com/users/mixpanel/following{/other_user}","gists_url":"https://api.github.com/users/mixpanel/gists{/gist_id}","starred_url":"https://api.github.com/users/mixpanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mixpanel/subscriptions","organizations_url":"https://api.github.com/users/mixpanel/orgs","repos_url":"https://api.github.com/users/mixpanel/repos","events_url":"https://api.github.com/users/mixpanel/events{/privacy}","received_events_url":"https://api.github.com/users/mixpanel/received_events","type":"Organization","site_admin":false},"repo":{"id":818509,"name":"mixpanel-android","full_name":"mixpanel/mixpanel-android","owner":{"login":"mixpanel","id":63653,"avatar_url":"https://avatars.githubusercontent.com/u/63653?v=3","gravatar_id":"","url":"https://api.github.com/users/mixpanel","html_url":"https://github.com/mixpanel","followers_url":"https://api.github.com/users/mixpanel/followers","following_url":"https://api.github.com/users/mixpanel/following{/other_user}","gists_url":"https://api.github.com/users/mixpanel/gists{/gist_id}","starred_url":"https://api.github.com/users/mixpanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mixpanel/subscriptions","organizations_url":"https://api.github.com/users/mixpanel/orgs","repos_url":"https://api.github.com/users/mixpanel/repos","events_url":"https://api.github.com/users/mixpanel/events{/privacy}","received_events_url":"https://api.github.com/users/mixpanel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mixpanel/mixpanel-android","description":"An Android library for Mixpanel Analytics","fork":false,"url":"https://api.github.com/repos/mixpanel/mixpanel-android","forks_url":"https://api.github.com/repos/mixpanel/mixpanel-android/forks","keys_url":"https://api.github.com/repos/mixpanel/mixpanel-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mixpanel/mixpanel-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mixpanel/mixpanel-android/teams","hooks_url":"https://api.github.com/repos/mixpanel/mixpanel-android/hooks","issue_events_url":"https://api.github.com/repos/mixpanel/mixpanel-android/issues/events{/number}","events_url":"https://api.github.com/repos/mixpanel/mixpanel-android/events","assignees_url":"https://api.github.com/repos/mixpanel/mixpanel-android/assignees{/user}","branches_url":"https://api.github.com/repos/mixpanel/mixpanel-android/branches{/branch}","tags_url":"https://api.github.com/repos/mixpanel/mixpanel-android/tags","blobs_url":"https://api.github.com/repos/mixpanel/mixpanel-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mixpanel/mixpanel-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mixpanel/mixpanel-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/mixpanel/mixpanel-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mixpanel/mixpanel-android/statuses/{sha}","languages_url":"https://api.github.com/repos/mixpanel/mixpanel-android/languages","stargazers_url":"https://api.github.com/repos/mixpanel/mixpanel-android/stargazers","contributors_url":"https://api.github.com/repos/mixpanel/mixpanel-android/contributors","subscribers_url":"https://api.github.com/repos/mixpanel/mixpanel-android/subscribers","subscription_url":"https://api.github.com/repos/mixpanel/mixpanel-android/subscription","commits_url":"https://api.github.com/repos/mixpanel/mixpanel-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/mixpanel/mixpanel-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/mixpanel/mixpanel-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/mixpanel/mixpanel-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/mixpanel/mixpanel-android/contents/{+path}","compare_url":"https://api.github.com/repos/mixpanel/mixpanel-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mixpanel/mixpanel-android/merges","archive_url":"https://api.github.com/repos/mixpanel/mixpanel-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mixpanel/mixpanel-android/downloads","issues_url":"https://api.github.com/repos/mixpanel/mixpanel-android/issues{/number}","pulls_url":"https://api.github.com/repos/mixpanel/mixpanel-android/pulls{/number}","milestones_url":"https://api.github.com/repos/mixpanel/mixpanel-android/milestones{/number}","notifications_url":"https://api.github.com/repos/mixpanel/mixpanel-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mixpanel/mixpanel-android/labels{/name}","releases_url":"https://api.github.com/repos/mixpanel/mixpanel-android/releases{/id}","created_at":"2010-08-05T04:51:12Z","updated_at":"2015-05-10T16:57:01Z","pushed_at":"2015-05-19T23:43:49Z","git_url":"git://github.com/mixpanel/mixpanel-android.git","ssh_url":"git@github.com:mixpanel/mixpanel-android.git","clone_url":"https://github.com/mixpanel/mixpanel-android.git","svn_url":"https://github.com/mixpanel/mixpanel-android","homepage":"http://mixpanel.com/android-analytics/","size":31708,"stargazers_count":150,"watchers_count":150,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":98,"mirror_url":null,"open_issues_count":52,"forks":98,"open_issues":52,"watchers":150,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mixpanel/mixpanel-android/pulls/220"},"html":{"href":"https://github.com/mixpanel/mixpanel-android/pull/220"},"issue":{"href":"https://api.github.com/repos/mixpanel/mixpanel-android/issues/220"},"comments":{"href":"https://api.github.com/repos/mixpanel/mixpanel-android/issues/220/comments"},"review_comments":{"href":"https://api.github.com/repos/mixpanel/mixpanel-android/pulls/220/comments"},"review_comment":{"href":"https://api.github.com/repos/mixpanel/mixpanel-android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mixpanel/mixpanel-android/pulls/220/commits"},"statuses":{"href":"https://api.github.com/repos/mixpanel/mixpanel-android/statuses/ee9b33b67fa0b5b9c007192c73e1e0745394bf21"}}}}