{"action":"created","comment":{"url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls/comments/36480319","id":36480319,"diff_hunk":"@@ -2552,6 +2557,10 @@ public void onActivityCreated(Activity activity, Bundle bundle) {}\n         @Override\n         public void onActivityStarted(Activity activity) {\n             if (activityCnt_ < 1) { // Check if this is the first Activity.If so start a session.\n+                //Check if debug mode is set in manifest. If so enable debug.\n+                if(BranchUtil.isTestModeEnabled(context_)){","path":"Branch-SDK/src/io/branch/referral/Branch.java","position":19,"original_position":19,"commit_id":"6d12b788a88a7af4244470ed87497e3f539cddb0","original_commit_id":"6d12b788a88a7af4244470ed87497e3f539cddb0","user":{"login":"aaustin","id":1332632,"avatar_url":"https://avatars.githubusercontent.com/u/1332632?v=3","gravatar_id":"","url":"https://api.github.com/users/aaustin","html_url":"https://github.com/aaustin","followers_url":"https://api.github.com/users/aaustin/followers","following_url":"https://api.github.com/users/aaustin/following{/other_user}","gists_url":"https://api.github.com/users/aaustin/gists{/gist_id}","starred_url":"https://api.github.com/users/aaustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaustin/subscriptions","organizations_url":"https://api.github.com/users/aaustin/orgs","repos_url":"https://api.github.com/users/aaustin/repos","events_url":"https://api.github.com/users/aaustin/events{/privacy}","received_events_url":"https://api.github.com/users/aaustin/received_events","type":"User","site_admin":false},"body":"also a space after if","created_at":"2015-08-07T00:03:33Z","updated_at":"2015-08-07T00:03:33Z","html_url":"https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pull/113#discussion_r36480319","pull_request_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls/113","_links":{"self":{"href":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls/comments/36480319"},"html":{"href":"https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pull/113#discussion_r36480319"},"pull_request":{"href":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls/113"}}},"pull_request":{"url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls/113","id":41846312,"html_url":"https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pull/113","diff_url":"https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pull/113.diff","patch_url":"https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pull/113.patch","issue_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/issues/113","number":113,"state":"open","locked":false,"title":" Set Debug Fix for Auto session mode","user":{"login":"sojanpr","id":7651572,"avatar_url":"https://avatars.githubusercontent.com/u/7651572?v=3","gravatar_id":"","url":"https://api.github.com/users/sojanpr","html_url":"https://github.com/sojanpr","followers_url":"https://api.github.com/users/sojanpr/followers","following_url":"https://api.github.com/users/sojanpr/following{/other_user}","gists_url":"https://api.github.com/users/sojanpr/gists{/gist_id}","starred_url":"https://api.github.com/users/sojanpr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sojanpr/subscriptions","organizations_url":"https://api.github.com/users/sojanpr/orgs","repos_url":"https://api.github.com/users/sojanpr/repos","events_url":"https://api.github.com/users/sojanpr/events{/privacy}","received_events_url":"https://api.github.com/users/sojanpr/received_events","type":"User","site_admin":false},"body":"In Auto session mode  since  Branch is Intercepting the Activity Life\ncycle methods and calling init session, User setting `setDebug()` has\nno effect  on setting real/fake hardware ID. So Devs cannot test\nInstall  and `isFirstSession` with `setDebug` option\n\n@qinweigong @aaustin ","created_at":"2015-08-06T23:28:02Z","updated_at":"2015-08-07T00:03:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"83fb3f9c9a61d38ee88053f08e28bc4d431a0bcd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls/113/commits","review_comments_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls/113/comments","review_comment_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/issues/113/comments","statuses_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/statuses/6d12b788a88a7af4244470ed87497e3f539cddb0","head":{"label":"BranchMetrics:Set-Debug-Fix","ref":"Set-Debug-Fix","sha":"6d12b788a88a7af4244470ed87497e3f539cddb0","user":{"login":"BranchMetrics","id":7772941,"avatar_url":"https://avatars.githubusercontent.com/u/7772941?v=3","gravatar_id":"","url":"https://api.github.com/users/BranchMetrics","html_url":"https://github.com/BranchMetrics","followers_url":"https://api.github.com/users/BranchMetrics/followers","following_url":"https://api.github.com/users/BranchMetrics/following{/other_user}","gists_url":"https://api.github.com/users/BranchMetrics/gists{/gist_id}","starred_url":"https://api.github.com/users/BranchMetrics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BranchMetrics/subscriptions","organizations_url":"https://api.github.com/users/BranchMetrics/orgs","repos_url":"https://api.github.com/users/BranchMetrics/repos","events_url":"https://api.github.com/users/BranchMetrics/events{/privacy}","received_events_url":"https://api.github.com/users/BranchMetrics/received_events","type":"Organization","site_admin":false},"repo":{"id":20421659,"name":"Android-Deferred-Deep-Linking-SDK","full_name":"BranchMetrics/Android-Deferred-Deep-Linking-SDK","owner":{"login":"BranchMetrics","id":7772941,"avatar_url":"https://avatars.githubusercontent.com/u/7772941?v=3","gravatar_id":"","url":"https://api.github.com/users/BranchMetrics","html_url":"https://github.com/BranchMetrics","followers_url":"https://api.github.com/users/BranchMetrics/followers","following_url":"https://api.github.com/users/BranchMetrics/following{/other_user}","gists_url":"https://api.github.com/users/BranchMetrics/gists{/gist_id}","starred_url":"https://api.github.com/users/BranchMetrics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BranchMetrics/subscriptions","organizations_url":"https://api.github.com/users/BranchMetrics/orgs","repos_url":"https://api.github.com/users/BranchMetrics/repos","events_url":"https://api.github.com/users/BranchMetrics/events{/privacy}","received_events_url":"https://api.github.com/users/BranchMetrics/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK","description":"Deferred Deep Linking SDK for Android apps powered by Branch Metrics. We help mobile apps grow with deep links / deeplinks that power referral systems, sharing links and invites with full attribution and analytics.","fork":false,"url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK","forks_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/forks","keys_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/teams","hooks_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/hooks","issue_events_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/issues/events{/number}","events_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/events","assignees_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/assignees{/user}","branches_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/branches{/branch}","tags_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/tags","blobs_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/git/refs{/sha}","trees_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/statuses/{sha}","languages_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/languages","stargazers_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/stargazers","contributors_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/contributors","subscribers_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/subscribers","subscription_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/subscription","commits_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/commits{/sha}","git_commits_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/git/commits{/sha}","comments_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/comments{/number}","issue_comment_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/issues/comments{/number}","contents_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/contents/{+path}","compare_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/merges","archive_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/downloads","issues_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/issues{/number}","pulls_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls{/number}","milestones_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/milestones{/number}","notifications_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/labels{/name}","releases_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/releases{/id}","created_at":"2014-06-02T22:17:59Z","updated_at":"2015-08-01T00:50:36Z","pushed_at":"2015-08-06T23:28:02Z","git_url":"git://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK.git","ssh_url":"git@github.com:BranchMetrics/Android-Deferred-Deep-Linking-SDK.git","clone_url":"https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK.git","svn_url":"https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK","homepage":"https://dev.branch.io/references/android_sdk/","size":10821,"stargazers_count":31,"watchers_count":31,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":10,"forks":21,"open_issues":10,"watchers":31,"default_branch":"master"}},"base":{"label":"BranchMetrics:master","ref":"master","sha":"3caae67741ec69b0464b52287142684281e4f828","user":{"login":"BranchMetrics","id":7772941,"avatar_url":"https://avatars.githubusercontent.com/u/7772941?v=3","gravatar_id":"","url":"https://api.github.com/users/BranchMetrics","html_url":"https://github.com/BranchMetrics","followers_url":"https://api.github.com/users/BranchMetrics/followers","following_url":"https://api.github.com/users/BranchMetrics/following{/other_user}","gists_url":"https://api.github.com/users/BranchMetrics/gists{/gist_id}","starred_url":"https://api.github.com/users/BranchMetrics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BranchMetrics/subscriptions","organizations_url":"https://api.github.com/users/BranchMetrics/orgs","repos_url":"https://api.github.com/users/BranchMetrics/repos","events_url":"https://api.github.com/users/BranchMetrics/events{/privacy}","received_events_url":"https://api.github.com/users/BranchMetrics/received_events","type":"Organization","site_admin":false},"repo":{"id":20421659,"name":"Android-Deferred-Deep-Linking-SDK","full_name":"BranchMetrics/Android-Deferred-Deep-Linking-SDK","owner":{"login":"BranchMetrics","id":7772941,"avatar_url":"https://avatars.githubusercontent.com/u/7772941?v=3","gravatar_id":"","url":"https://api.github.com/users/BranchMetrics","html_url":"https://github.com/BranchMetrics","followers_url":"https://api.github.com/users/BranchMetrics/followers","following_url":"https://api.github.com/users/BranchMetrics/following{/other_user}","gists_url":"https://api.github.com/users/BranchMetrics/gists{/gist_id}","starred_url":"https://api.github.com/users/BranchMetrics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BranchMetrics/subscriptions","organizations_url":"https://api.github.com/users/BranchMetrics/orgs","repos_url":"https://api.github.com/users/BranchMetrics/repos","events_url":"https://api.github.com/users/BranchMetrics/events{/privacy}","received_events_url":"https://api.github.com/users/BranchMetrics/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK","description":"Deferred Deep Linking SDK for Android apps powered by Branch Metrics. We help mobile apps grow with deep links / deeplinks that power referral systems, sharing links and invites with full attribution and analytics.","fork":false,"url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK","forks_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/forks","keys_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/teams","hooks_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/hooks","issue_events_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/issues/events{/number}","events_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/events","assignees_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/assignees{/user}","branches_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/branches{/branch}","tags_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/tags","blobs_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/git/refs{/sha}","trees_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/statuses/{sha}","languages_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/languages","stargazers_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/stargazers","contributors_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/contributors","subscribers_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/subscribers","subscription_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/subscription","commits_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/commits{/sha}","git_commits_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/git/commits{/sha}","comments_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/comments{/number}","issue_comment_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/issues/comments{/number}","contents_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/contents/{+path}","compare_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/merges","archive_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/downloads","issues_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/issues{/number}","pulls_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls{/number}","milestones_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/milestones{/number}","notifications_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/labels{/name}","releases_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/releases{/id}","created_at":"2014-06-02T22:17:59Z","updated_at":"2015-08-01T00:50:36Z","pushed_at":"2015-08-06T23:28:02Z","git_url":"git://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK.git","ssh_url":"git@github.com:BranchMetrics/Android-Deferred-Deep-Linking-SDK.git","clone_url":"https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK.git","svn_url":"https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK","homepage":"https://dev.branch.io/references/android_sdk/","size":10821,"stargazers_count":31,"watchers_count":31,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":10,"forks":21,"open_issues":10,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls/113"},"html":{"href":"https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pull/113"},"issue":{"href":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/issues/113"},"comments":{"href":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/issues/113/comments"},"review_comments":{"href":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls/113/comments"},"review_comment":{"href":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls/113/commits"},"statuses":{"href":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/statuses/6d12b788a88a7af4244470ed87497e3f539cddb0"}}}}