{"action":"created","comment":{"url":"https://api.github.com/repos/WhisperSystems/Signal-Android/pulls/comments/56051363","id":56051363,"diff_hunk":"@@ -363,6 +363,19 @@\n \n     <activity android:name=\"com.soundcloud.android.crop.CropImageActivity\" />\n \n+    <!-- this can never have launchMode singleTask or singleInstance! -->","path":"AndroidManifest.xml","position":4,"original_position":4,"commit_id":"599c83f11e7b93b83d835cc9e7d67c6139fafe37","original_commit_id":"599c83f11e7b93b83d835cc9e7d67c6139fafe37","user":{"login":"moxie0","id":512439,"avatar_url":"https://avatars.githubusercontent.com/u/512439?v=3","gravatar_id":"","url":"https://api.github.com/users/moxie0","html_url":"https://github.com/moxie0","followers_url":"https://api.github.com/users/moxie0/followers","following_url":"https://api.github.com/users/moxie0/following{/other_user}","gists_url":"https://api.github.com/users/moxie0/gists{/gist_id}","starred_url":"https://api.github.com/users/moxie0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moxie0/subscriptions","organizations_url":"https://api.github.com/users/moxie0/orgs","repos_url":"https://api.github.com/users/moxie0/repos","events_url":"https://api.github.com/users/moxie0/events{/privacy}","received_events_url":"https://api.github.com/users/moxie0/received_events","type":"User","site_admin":false},"body":"even with the comment there, I don't understand. why is this an activity at all?","created_at":"2016-03-14T18:29:26Z","updated_at":"2016-03-14T18:29:26Z","html_url":"https://github.com/WhisperSystems/Signal-Android/pull/5341#discussion_r56051363","pull_request_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/pulls/5341","_links":{"self":{"href":"https://api.github.com/repos/WhisperSystems/Signal-Android/pulls/comments/56051363"},"html":{"href":"https://github.com/WhisperSystems/Signal-Android/pull/5341#discussion_r56051363"},"pull_request":{"href":"https://api.github.com/repos/WhisperSystems/Signal-Android/pulls/5341"}}},"pull_request":{"url":"https://api.github.com/repos/WhisperSystems/Signal-Android/pulls/5341","id":62768488,"html_url":"https://github.com/WhisperSystems/Signal-Android/pull/5341","diff_url":"https://github.com/WhisperSystems/Signal-Android/pull/5341.diff","patch_url":"https://github.com/WhisperSystems/Signal-Android/pull/5341.patch","issue_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/issues/5341","number":5341,"state":"open","locked":false,"title":"allow \"panic button\" apps to lock","user":{"login":"eighthave","id":143465,"avatar_url":"https://avatars.githubusercontent.com/u/143465?v=3","gravatar_id":"","url":"https://api.github.com/users/eighthave","html_url":"https://github.com/eighthave","followers_url":"https://api.github.com/users/eighthave/followers","following_url":"https://api.github.com/users/eighthave/following{/other_user}","gists_url":"https://api.github.com/users/eighthave/gists{/gist_id}","starred_url":"https://api.github.com/users/eighthave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eighthave/subscriptions","organizations_url":"https://api.github.com/users/eighthave/orgs","repos_url":"https://api.github.com/users/eighthave/repos","events_url":"https://api.github.com/users/eighthave/events{/privacy}","received_events_url":"https://api.github.com/users/eighthave/received_events","type":"User","site_admin":false},"body":"### First time contributor checklist\r\n- [x] I have read [how to contribute](https://github.com/WhisperSystems/Signal-Android/blob/master/CONTRIBUTING.md) to this project\r\n- [x] I have signed the [Contributor Licence Agreement](https://whispersystems.org/cla/)\r\n\r\n### Contributor checklist\r\n- [x] I am following the [Code Style Guidelines](https://github.com/WhisperSystems/Signal-Android/wiki/Code-Style-Guidelines)\r\n- [x] I have tested my contribution on these devices:\r\n * Samsung Galaxy Note 2, Android 4.4.4\r\n * Asus ZenFone2, Android 4.4.2 (x86)\r\n * its [included in SMSSecure](https://github.com/SMSSecure/SMSSecure/pulls?q=is%3Apr+is%3Aclosed+author%3Aeighthave) official releases, so its been tested on a bunch of devices there\r\n- [x] My contribution is fully baked and ready to be merged as is\r\n- [x] I have made the choice whether I want the Bithub reward or not by omitting or adding the word `FREEBIE` in my commit message\r\n\r\n----------\r\n\r\n### Description\r\n\r\nAs discussed back in October face to face with @moxie0 and @mcginty, here is the \"panic button\" support.  We've been developing \"panic button\" features in our apps for years, and now we are working to make a more flexible and open ecosystem of apps that can both trigger other apps, or respond to triggers.  This has now become a partnership effort called [Panic Initiative](https://github.com/PanicInitiative) that has been spun out of Amnesty International's work in conjunction with iilab, Guardian Project and Security First.\r\n\r\nSince Signal already includes a \"lock\" feature, it is a natural panic responder app. This setup allows for easy configuration of a single trigger action (e.g. button press) which can then trigger multiple apps. The first commit adds support for receiving the panic trigger. The second commit wipes Signal from the Recent Apps after responding to the panic trigger.\r\n\r\nYou can see an example of this user experience in this video:\r\nhttps://www.youtube.com/watch?v=mS1gstS6YS8\r\n\r\nThe first panic button app that sends this kind of trigger is called Ripple, and it is available here:\r\nhttps://github.com/guardianproject/ripple\r\nhttps://play.google.com/store/apps/details?id=info.guardianproject.ripple\r\n\r\nAmnesty Panic Button supports this in the beta version (v1.4.1) right now:\r\nhttps://panicbutton.io/\r\nhttps://play.google.com/store/apps/details?id=org.iilab.pb\r\n\r\nMore info on the panic kit work here:\r\nhttps://dev.guardianproject.info/projects/panic/wiki\r\n\r\nThe source repo for the included TrustedIntents library is here:\r\nhttps://github.com/guardianproject/TrustedIntents\r\n","created_at":"2016-03-14T15:42:28Z","updated_at":"2016-03-14T18:29:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8afa37bb40355bcd33711e385832c82000c15d3a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/pulls/5341/commits","review_comments_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/pulls/5341/comments","review_comment_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/issues/5341/comments","statuses_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/statuses/599c83f11e7b93b83d835cc9e7d67c6139fafe37","head":{"label":"atorat:master","ref":"master","sha":"599c83f11e7b93b83d835cc9e7d67c6139fafe37","user":{"login":"atorat","id":12264310,"avatar_url":"https://avatars.githubusercontent.com/u/12264310?v=3","gravatar_id":"","url":"https://api.github.com/users/atorat","html_url":"https://github.com/atorat","followers_url":"https://api.github.com/users/atorat/followers","following_url":"https://api.github.com/users/atorat/following{/other_user}","gists_url":"https://api.github.com/users/atorat/gists{/gist_id}","starred_url":"https://api.github.com/users/atorat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atorat/subscriptions","organizations_url":"https://api.github.com/users/atorat/orgs","repos_url":"https://api.github.com/users/atorat/repos","events_url":"https://api.github.com/users/atorat/events{/privacy}","received_events_url":"https://api.github.com/users/atorat/received_events","type":"Organization","site_admin":false},"repo":{"id":53859534,"name":"Signal-Android","full_name":"atorat/Signal-Android","owner":{"login":"atorat","id":12264310,"avatar_url":"https://avatars.githubusercontent.com/u/12264310?v=3","gravatar_id":"","url":"https://api.github.com/users/atorat","html_url":"https://github.com/atorat","followers_url":"https://api.github.com/users/atorat/followers","following_url":"https://api.github.com/users/atorat/following{/other_user}","gists_url":"https://api.github.com/users/atorat/gists{/gist_id}","starred_url":"https://api.github.com/users/atorat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atorat/subscriptions","organizations_url":"https://api.github.com/users/atorat/orgs","repos_url":"https://api.github.com/users/atorat/repos","events_url":"https://api.github.com/users/atorat/events{/privacy}","received_events_url":"https://api.github.com/users/atorat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atorat/Signal-Android","description":"A private messenger for Android.","fork":true,"url":"https://api.github.com/repos/atorat/Signal-Android","forks_url":"https://api.github.com/repos/atorat/Signal-Android/forks","keys_url":"https://api.github.com/repos/atorat/Signal-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atorat/Signal-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atorat/Signal-Android/teams","hooks_url":"https://api.github.com/repos/atorat/Signal-Android/hooks","issue_events_url":"https://api.github.com/repos/atorat/Signal-Android/issues/events{/number}","events_url":"https://api.github.com/repos/atorat/Signal-Android/events","assignees_url":"https://api.github.com/repos/atorat/Signal-Android/assignees{/user}","branches_url":"https://api.github.com/repos/atorat/Signal-Android/branches{/branch}","tags_url":"https://api.github.com/repos/atorat/Signal-Android/tags","blobs_url":"https://api.github.com/repos/atorat/Signal-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atorat/Signal-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atorat/Signal-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/atorat/Signal-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atorat/Signal-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/atorat/Signal-Android/languages","stargazers_url":"https://api.github.com/repos/atorat/Signal-Android/stargazers","contributors_url":"https://api.github.com/repos/atorat/Signal-Android/contributors","subscribers_url":"https://api.github.com/repos/atorat/Signal-Android/subscribers","subscription_url":"https://api.github.com/repos/atorat/Signal-Android/subscription","commits_url":"https://api.github.com/repos/atorat/Signal-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/atorat/Signal-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/atorat/Signal-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/atorat/Signal-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/atorat/Signal-Android/contents/{+path}","compare_url":"https://api.github.com/repos/atorat/Signal-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atorat/Signal-Android/merges","archive_url":"https://api.github.com/repos/atorat/Signal-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atorat/Signal-Android/downloads","issues_url":"https://api.github.com/repos/atorat/Signal-Android/issues{/number}","pulls_url":"https://api.github.com/repos/atorat/Signal-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/atorat/Signal-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/atorat/Signal-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atorat/Signal-Android/labels{/name}","releases_url":"https://api.github.com/repos/atorat/Signal-Android/releases{/id}","deployments_url":"https://api.github.com/repos/atorat/Signal-Android/deployments","created_at":"2016-03-14T13:44:01Z","updated_at":"2016-03-14T13:44:16Z","pushed_at":"2016-03-14T15:38:09Z","git_url":"git://github.com/atorat/Signal-Android.git","ssh_url":"git@github.com:atorat/Signal-Android.git","clone_url":"https://github.com/atorat/Signal-Android.git","svn_url":"https://github.com/atorat/Signal-Android","homepage":"https://whispersystems.org","size":77283,"stargazers_count":0,"watchers_count":0,"language":"C","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":"WhisperSystems:master","ref":"master","sha":"6c995aa19104034ddcaa762662f6750ddb9c755d","user":{"login":"WhisperSystems","id":702459,"avatar_url":"https://avatars.githubusercontent.com/u/702459?v=3","gravatar_id":"","url":"https://api.github.com/users/WhisperSystems","html_url":"https://github.com/WhisperSystems","followers_url":"https://api.github.com/users/WhisperSystems/followers","following_url":"https://api.github.com/users/WhisperSystems/following{/other_user}","gists_url":"https://api.github.com/users/WhisperSystems/gists{/gist_id}","starred_url":"https://api.github.com/users/WhisperSystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WhisperSystems/subscriptions","organizations_url":"https://api.github.com/users/WhisperSystems/orgs","repos_url":"https://api.github.com/users/WhisperSystems/repos","events_url":"https://api.github.com/users/WhisperSystems/events{/privacy}","received_events_url":"https://api.github.com/users/WhisperSystems/received_events","type":"Organization","site_admin":false},"repo":{"id":2990192,"name":"Signal-Android","full_name":"WhisperSystems/Signal-Android","owner":{"login":"WhisperSystems","id":702459,"avatar_url":"https://avatars.githubusercontent.com/u/702459?v=3","gravatar_id":"","url":"https://api.github.com/users/WhisperSystems","html_url":"https://github.com/WhisperSystems","followers_url":"https://api.github.com/users/WhisperSystems/followers","following_url":"https://api.github.com/users/WhisperSystems/following{/other_user}","gists_url":"https://api.github.com/users/WhisperSystems/gists{/gist_id}","starred_url":"https://api.github.com/users/WhisperSystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WhisperSystems/subscriptions","organizations_url":"https://api.github.com/users/WhisperSystems/orgs","repos_url":"https://api.github.com/users/WhisperSystems/repos","events_url":"https://api.github.com/users/WhisperSystems/events{/privacy}","received_events_url":"https://api.github.com/users/WhisperSystems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WhisperSystems/Signal-Android","description":"A private messenger for Android.","fork":false,"url":"https://api.github.com/repos/WhisperSystems/Signal-Android","forks_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/forks","keys_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/teams","hooks_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/hooks","issue_events_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/issues/events{/number}","events_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/events","assignees_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/assignees{/user}","branches_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/branches{/branch}","tags_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/tags","blobs_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/languages","stargazers_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/stargazers","contributors_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/contributors","subscribers_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/subscribers","subscription_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/subscription","commits_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/contents/{+path}","compare_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/merges","archive_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/downloads","issues_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/issues{/number}","pulls_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/labels{/name}","releases_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/releases{/id}","deployments_url":"https://api.github.com/repos/WhisperSystems/Signal-Android/deployments","created_at":"2011-12-15T20:01:12Z","updated_at":"2016-03-14T11:29:56Z","pushed_at":"2016-03-14T18:13:19Z","git_url":"git://github.com/WhisperSystems/Signal-Android.git","ssh_url":"git@github.com:WhisperSystems/Signal-Android.git","clone_url":"https://github.com/WhisperSystems/Signal-Android.git","svn_url":"https://github.com/WhisperSystems/Signal-Android","homepage":"https://whispersystems.org","size":108306,"stargazers_count":5810,"watchers_count":5810,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1650,"mirror_url":null,"open_issues_count":624,"forks":1650,"open_issues":624,"watchers":5810,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WhisperSystems/Signal-Android/pulls/5341"},"html":{"href":"https://github.com/WhisperSystems/Signal-Android/pull/5341"},"issue":{"href":"https://api.github.com/repos/WhisperSystems/Signal-Android/issues/5341"},"comments":{"href":"https://api.github.com/repos/WhisperSystems/Signal-Android/issues/5341/comments"},"review_comments":{"href":"https://api.github.com/repos/WhisperSystems/Signal-Android/pulls/5341/comments"},"review_comment":{"href":"https://api.github.com/repos/WhisperSystems/Signal-Android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WhisperSystems/Signal-Android/pulls/5341/commits"},"statuses":{"href":"https://api.github.com/repos/WhisperSystems/Signal-Android/statuses/599c83f11e7b93b83d835cc9e7d67c6139fafe37"}}}}