{"action":"opened","number":8274,"pull_request":{"url":"https://api.github.com/repos/signalapp/Signal-Android/pulls/8274","id":222296974,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyMjk2OTc0","html_url":"https://github.com/signalapp/Signal-Android/pull/8274","diff_url":"https://github.com/signalapp/Signal-Android/pull/8274.diff","patch_url":"https://github.com/signalapp/Signal-Android/pull/8274.patch","issue_url":"https://api.github.com/repos/signalapp/Signal-Android/issues/8274","number":8274,"state":"open","locked":false,"title":"Prevent app from clearing the back stack on re-launch","user":{"login":"jpinsonault","id":137581,"node_id":"MDQ6VXNlcjEzNzU4MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/137581?v=4","gravatar_id":"","url":"https://api.github.com/users/jpinsonault","html_url":"https://github.com/jpinsonault","followers_url":"https://api.github.com/users/jpinsonault/followers","following_url":"https://api.github.com/users/jpinsonault/following{/other_user}","gists_url":"https://api.github.com/users/jpinsonault/gists{/gist_id}","starred_url":"https://api.github.com/users/jpinsonault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpinsonault/subscriptions","organizations_url":"https://api.github.com/users/jpinsonault/orgs","repos_url":"https://api.github.com/users/jpinsonault/repos","events_url":"https://api.github.com/users/jpinsonault/events{/privacy}","received_events_url":"https://api.github.com/users/jpinsonault/received_events","type":"User","site_admin":false},"body":"<!-- You can remove this first section if you have contributed before -->\r\n### First time contributor checklist\r\n<!-- replace the empty checkboxes [ ] below with checked ones [x] accordingly -->\r\n- [x] I have read [how to contribute](https://github.com/signalapp/Signal-Android/blob/master/CONTRIBUTING.md) to this project\r\n- [x] I have signed the [Contributor License Agreement](https://whispersystems.org/cla/)\r\n\r\n### Contributor checklist\r\n<!-- replace the empty checkboxes [ ] below with checked ones [x] accordingly -->\r\n- [x] I am following the [Code Style Guidelines](https://github.com/signalapp/Signal-Android/wiki/Code-Style-Guidelines)\r\n- [x] I have tested my contribution on these devices:\r\n * Moto X4, Android 8.0.0\r\n * Pixel2, Android 9\r\n- [x] My contribution is fully baked and ready to be merged as is\r\n- [x] I ensure that all the open issues my contribution fixes are mentioned in the commit message of my first commit using the `Fixes #1234` [syntax](https://help.github.com/articles/closing-issues-via-commit-messages/)\r\n\r\n----------\r\n\r\n### Description\r\n<!--\r\nDescribe briefly what your pull request proposes to fix. Especially if you have more than one commit, it is helpful to give a summary of what your contribution as a whole is trying to solve.\r\nAlso, please describe shortly how you tested that your fix actually works.\r\n-->\r\n\r\nFixes #8273\r\n\r\nChanges the launchMode for the main activity to `standard` instead of `singleTask`. Previously it was launched with `singleTask`, which caused the app to clear the back stack down to the ConversationListActivity, closing whatever conversation the user had been looking at the last time the app was open. This occurs when a user reopens the app through the android launcher, which triggers the `MAIN` intent.\r\n\r\nWith this change, the app will resume to whatever Activity the user had open prior to switching apps or pressing the home button. If the app is actually closed, it will of course reopen to the `ConversationListActivity` as expected","created_at":"2018-10-11T22:20:53Z","updated_at":"2018-10-11T22:20:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/signalapp/Signal-Android/pulls/8274/commits","review_comments_url":"https://api.github.com/repos/signalapp/Signal-Android/pulls/8274/comments","review_comment_url":"https://api.github.com/repos/signalapp/Signal-Android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/signalapp/Signal-Android/issues/8274/comments","statuses_url":"https://api.github.com/repos/signalapp/Signal-Android/statuses/72ce162358865ba03e29e7ff4a022a9bd93dbfc2","head":{"label":"jpinsonault:issue-8273-dont-clear-activity-stack-when-re-launched","ref":"issue-8273-dont-clear-activity-stack-when-re-launched","sha":"72ce162358865ba03e29e7ff4a022a9bd93dbfc2","user":{"login":"jpinsonault","id":137581,"node_id":"MDQ6VXNlcjEzNzU4MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/137581?v=4","gravatar_id":"","url":"https://api.github.com/users/jpinsonault","html_url":"https://github.com/jpinsonault","followers_url":"https://api.github.com/users/jpinsonault/followers","following_url":"https://api.github.com/users/jpinsonault/following{/other_user}","gists_url":"https://api.github.com/users/jpinsonault/gists{/gist_id}","starred_url":"https://api.github.com/users/jpinsonault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpinsonault/subscriptions","organizations_url":"https://api.github.com/users/jpinsonault/orgs","repos_url":"https://api.github.com/users/jpinsonault/repos","events_url":"https://api.github.com/users/jpinsonault/events{/privacy}","received_events_url":"https://api.github.com/users/jpinsonault/received_events","type":"User","site_admin":false},"repo":{"id":152659603,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI2NTk2MDM=","name":"Signal-Android","full_name":"jpinsonault/Signal-Android","private":false,"owner":{"login":"jpinsonault","id":137581,"node_id":"MDQ6VXNlcjEzNzU4MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/137581?v=4","gravatar_id":"","url":"https://api.github.com/users/jpinsonault","html_url":"https://github.com/jpinsonault","followers_url":"https://api.github.com/users/jpinsonault/followers","following_url":"https://api.github.com/users/jpinsonault/following{/other_user}","gists_url":"https://api.github.com/users/jpinsonault/gists{/gist_id}","starred_url":"https://api.github.com/users/jpinsonault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpinsonault/subscriptions","organizations_url":"https://api.github.com/users/jpinsonault/orgs","repos_url":"https://api.github.com/users/jpinsonault/repos","events_url":"https://api.github.com/users/jpinsonault/events{/privacy}","received_events_url":"https://api.github.com/users/jpinsonault/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jpinsonault/Signal-Android","description":"A private messenger for Android.","fork":true,"url":"https://api.github.com/repos/jpinsonault/Signal-Android","forks_url":"https://api.github.com/repos/jpinsonault/Signal-Android/forks","keys_url":"https://api.github.com/repos/jpinsonault/Signal-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jpinsonault/Signal-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jpinsonault/Signal-Android/teams","hooks_url":"https://api.github.com/repos/jpinsonault/Signal-Android/hooks","issue_events_url":"https://api.github.com/repos/jpinsonault/Signal-Android/issues/events{/number}","events_url":"https://api.github.com/repos/jpinsonault/Signal-Android/events","assignees_url":"https://api.github.com/repos/jpinsonault/Signal-Android/assignees{/user}","branches_url":"https://api.github.com/repos/jpinsonault/Signal-Android/branches{/branch}","tags_url":"https://api.github.com/repos/jpinsonault/Signal-Android/tags","blobs_url":"https://api.github.com/repos/jpinsonault/Signal-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jpinsonault/Signal-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jpinsonault/Signal-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/jpinsonault/Signal-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jpinsonault/Signal-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/jpinsonault/Signal-Android/languages","stargazers_url":"https://api.github.com/repos/jpinsonault/Signal-Android/stargazers","contributors_url":"https://api.github.com/repos/jpinsonault/Signal-Android/contributors","subscribers_url":"https://api.github.com/repos/jpinsonault/Signal-Android/subscribers","subscription_url":"https://api.github.com/repos/jpinsonault/Signal-Android/subscription","commits_url":"https://api.github.com/repos/jpinsonault/Signal-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/jpinsonault/Signal-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/jpinsonault/Signal-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/jpinsonault/Signal-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/jpinsonault/Signal-Android/contents/{+path}","compare_url":"https://api.github.com/repos/jpinsonault/Signal-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jpinsonault/Signal-Android/merges","archive_url":"https://api.github.com/repos/jpinsonault/Signal-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jpinsonault/Signal-Android/downloads","issues_url":"https://api.github.com/repos/jpinsonault/Signal-Android/issues{/number}","pulls_url":"https://api.github.com/repos/jpinsonault/Signal-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/jpinsonault/Signal-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/jpinsonault/Signal-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jpinsonault/Signal-Android/labels{/name}","releases_url":"https://api.github.com/repos/jpinsonault/Signal-Android/releases{/id}","deployments_url":"https://api.github.com/repos/jpinsonault/Signal-Android/deployments","created_at":"2018-10-11T21:44:52Z","updated_at":"2018-10-11T21:45:01Z","pushed_at":"2018-10-11T22:20:30Z","git_url":"git://github.com/jpinsonault/Signal-Android.git","ssh_url":"git@github.com:jpinsonault/Signal-Android.git","clone_url":"https://github.com/jpinsonault/Signal-Android.git","svn_url":"https://github.com/jpinsonault/Signal-Android","homepage":"https://signal.org","size":143424,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"signalapp:master","ref":"master","sha":"50eb8f23227bad52b88432e97806c632e35ea503","user":{"login":"signalapp","id":702459,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcwMjQ1OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/702459?v=4","gravatar_id":"","url":"https://api.github.com/users/signalapp","html_url":"https://github.com/signalapp","followers_url":"https://api.github.com/users/signalapp/followers","following_url":"https://api.github.com/users/signalapp/following{/other_user}","gists_url":"https://api.github.com/users/signalapp/gists{/gist_id}","starred_url":"https://api.github.com/users/signalapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/signalapp/subscriptions","organizations_url":"https://api.github.com/users/signalapp/orgs","repos_url":"https://api.github.com/users/signalapp/repos","events_url":"https://api.github.com/users/signalapp/events{/privacy}","received_events_url":"https://api.github.com/users/signalapp/received_events","type":"Organization","site_admin":false},"repo":{"id":2990192,"node_id":"MDEwOlJlcG9zaXRvcnkyOTkwMTky","name":"Signal-Android","full_name":"signalapp/Signal-Android","private":false,"owner":{"login":"signalapp","id":702459,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcwMjQ1OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/702459?v=4","gravatar_id":"","url":"https://api.github.com/users/signalapp","html_url":"https://github.com/signalapp","followers_url":"https://api.github.com/users/signalapp/followers","following_url":"https://api.github.com/users/signalapp/following{/other_user}","gists_url":"https://api.github.com/users/signalapp/gists{/gist_id}","starred_url":"https://api.github.com/users/signalapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/signalapp/subscriptions","organizations_url":"https://api.github.com/users/signalapp/orgs","repos_url":"https://api.github.com/users/signalapp/repos","events_url":"https://api.github.com/users/signalapp/events{/privacy}","received_events_url":"https://api.github.com/users/signalapp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/signalapp/Signal-Android","description":"A private messenger for Android.","fork":false,"url":"https://api.github.com/repos/signalapp/Signal-Android","forks_url":"https://api.github.com/repos/signalapp/Signal-Android/forks","keys_url":"https://api.github.com/repos/signalapp/Signal-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/signalapp/Signal-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/signalapp/Signal-Android/teams","hooks_url":"https://api.github.com/repos/signalapp/Signal-Android/hooks","issue_events_url":"https://api.github.com/repos/signalapp/Signal-Android/issues/events{/number}","events_url":"https://api.github.com/repos/signalapp/Signal-Android/events","assignees_url":"https://api.github.com/repos/signalapp/Signal-Android/assignees{/user}","branches_url":"https://api.github.com/repos/signalapp/Signal-Android/branches{/branch}","tags_url":"https://api.github.com/repos/signalapp/Signal-Android/tags","blobs_url":"https://api.github.com/repos/signalapp/Signal-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/signalapp/Signal-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/signalapp/Signal-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/signalapp/Signal-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/signalapp/Signal-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/signalapp/Signal-Android/languages","stargazers_url":"https://api.github.com/repos/signalapp/Signal-Android/stargazers","contributors_url":"https://api.github.com/repos/signalapp/Signal-Android/contributors","subscribers_url":"https://api.github.com/repos/signalapp/Signal-Android/subscribers","subscription_url":"https://api.github.com/repos/signalapp/Signal-Android/subscription","commits_url":"https://api.github.com/repos/signalapp/Signal-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/signalapp/Signal-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/signalapp/Signal-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/signalapp/Signal-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/signalapp/Signal-Android/contents/{+path}","compare_url":"https://api.github.com/repos/signalapp/Signal-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/signalapp/Signal-Android/merges","archive_url":"https://api.github.com/repos/signalapp/Signal-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/signalapp/Signal-Android/downloads","issues_url":"https://api.github.com/repos/signalapp/Signal-Android/issues{/number}","pulls_url":"https://api.github.com/repos/signalapp/Signal-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/signalapp/Signal-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/signalapp/Signal-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/signalapp/Signal-Android/labels{/name}","releases_url":"https://api.github.com/repos/signalapp/Signal-Android/releases{/id}","deployments_url":"https://api.github.com/repos/signalapp/Signal-Android/deployments","created_at":"2011-12-15T20:01:12Z","updated_at":"2018-10-11T22:15:42Z","pushed_at":"2018-10-11T18:31:27Z","git_url":"git://github.com/signalapp/Signal-Android.git","ssh_url":"git@github.com:signalapp/Signal-Android.git","clone_url":"https://github.com/signalapp/Signal-Android.git","svn_url":"https://github.com/signalapp/Signal-Android","homepage":"https://signal.org","size":143424,"stargazers_count":10395,"watchers_count":10395,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2730,"mirror_url":null,"archived":false,"open_issues_count":224,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":2730,"open_issues":224,"watchers":10395,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/signalapp/Signal-Android/pulls/8274"},"html":{"href":"https://github.com/signalapp/Signal-Android/pull/8274"},"issue":{"href":"https://api.github.com/repos/signalapp/Signal-Android/issues/8274"},"comments":{"href":"https://api.github.com/repos/signalapp/Signal-Android/issues/8274/comments"},"review_comments":{"href":"https://api.github.com/repos/signalapp/Signal-Android/pulls/8274/comments"},"review_comment":{"href":"https://api.github.com/repos/signalapp/Signal-Android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/signalapp/Signal-Android/pulls/8274/commits"},"statuses":{"href":"https://api.github.com/repos/signalapp/Signal-Android/statuses/72ce162358865ba03e29e7ff4a022a9bd93dbfc2"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"jpinsonault"}}