{"action":"created","issue":{"url":"https://api.github.com/repos/syncthing/syncthing-android/issues/781","repository_url":"https://api.github.com/repos/syncthing/syncthing-android","labels_url":"https://api.github.com/repos/syncthing/syncthing-android/issues/781/labels{/name}","comments_url":"https://api.github.com/repos/syncthing/syncthing-android/issues/781/comments","events_url":"https://api.github.com/repos/syncthing/syncthing-android/issues/781/events","html_url":"https://github.com/syncthing/syncthing-android/issues/781","id":187542512,"number":781,"title":"Android kills the syncthing process when activity is closed","user":{"login":"Unrud","id":11810547,"avatar_url":"https://avatars1.githubusercontent.com/u/11810547?v=4","gravatar_id":"","url":"https://api.github.com/users/Unrud","html_url":"https://github.com/Unrud","followers_url":"https://api.github.com/users/Unrud/followers","following_url":"https://api.github.com/users/Unrud/following{/other_user}","gists_url":"https://api.github.com/users/Unrud/gists{/gist_id}","starred_url":"https://api.github.com/users/Unrud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unrud/subscriptions","organizations_url":"https://api.github.com/users/Unrud/orgs","repos_url":"https://api.github.com/users/Unrud/repos","events_url":"https://api.github.com/users/Unrud/events{/privacy}","received_events_url":"https://api.github.com/users/Unrud/received_events","type":"User","site_admin":false},"labels":[{"id":82100195,"url":"https://api.github.com/repos/syncthing/syncthing-android/labels/bug","name":"bug","color":"fc2929","default":true},{"id":910406217,"url":"https://api.github.com/repos/syncthing/syncthing-android/labels/help-wanted","name":"help-wanted","color":"3c5ea3","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-11-06T05:07:01Z","updated_at":"2018-05-26T12:16:34Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Android kills **libsyncthing.so** everytime when the activity is closed. It gets automatically restarted by SyncthingService, but syncing gets interrupted.\r\n\r\n```\r\nI ActivityManager: Killing 9422:com.nutomic.syncthingandroid.debug/u0a128 (adj 16): remove task\r\nI libprocessgroup: Killing pid 9500 in uid 10128 as part of process group 9422\r\n```"},"comment":{"url":"https://api.github.com/repos/syncthing/syncthing-android/issues/comments/392257662","html_url":"https://github.com/syncthing/syncthing-android/issues/781#issuecomment-392257662","issue_url":"https://api.github.com/repos/syncthing/syncthing-android/issues/781","id":392257662,"user":{"login":"Catfriend1","id":16361913,"avatar_url":"https://avatars1.githubusercontent.com/u/16361913?v=4","gravatar_id":"","url":"https://api.github.com/users/Catfriend1","html_url":"https://github.com/Catfriend1","followers_url":"https://api.github.com/users/Catfriend1/followers","following_url":"https://api.github.com/users/Catfriend1/following{/other_user}","gists_url":"https://api.github.com/users/Catfriend1/gists{/gist_id}","starred_url":"https://api.github.com/users/Catfriend1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Catfriend1/subscriptions","organizations_url":"https://api.github.com/users/Catfriend1/orgs","repos_url":"https://api.github.com/users/Catfriend1/repos","events_url":"https://api.github.com/users/Catfriend1/events{/privacy}","received_events_url":"https://api.github.com/users/Catfriend1/received_events","type":"User","site_admin":false},"created_at":"2018-05-26T12:16:34Z","updated_at":"2018-05-26T12:16:34Z","author_association":"CONTRIBUTOR","body":"Source for anyone wanting to help:\r\n\r\n\r\nhttps://developer.android.com/guide/topics/manifest/service-element\r\n> android:process\r\nThe name of the process where the service is to run. Normally, all components of an application run in the default process created for the application. It has the same name as the application package. The <application> element's process attribute can set a different default for all components. But component can override the default with its own process attribute, allowing you to spread your application across multiple processes.\r\nIf the name assigned to this attribute begins with a colon (':'), a new process, private to the application, is created when it's needed and the service runs in that process. If the process name begins with a lowercase character, the service will run in a global process of that name, provided that it has permission to do so. This allows components in different applications to share a process, reducing resource usage."}}
{"actor":{"display_login":"Catfriend1"}}