{"action":"closed","issue":{"url":"https://api.github.com/repos/syncthing/syncthing-android/issues/365","labels_url":"https://api.github.com/repos/syncthing/syncthing-android/issues/365/labels{/name}","comments_url":"https://api.github.com/repos/syncthing/syncthing-android/issues/365/comments","events_url":"https://api.github.com/repos/syncthing/syncthing-android/issues/365/events","html_url":"https://github.com/syncthing/syncthing-android/issues/365","id":69304643,"number":365,"title":"[0.11] Not exiting even if \"Always run in background\" is disabled","user":{"login":"marcelpaulo","id":10074769,"avatar_url":"https://avatars.githubusercontent.com/u/10074769?v=3","gravatar_id":"","url":"https://api.github.com/users/marcelpaulo","html_url":"https://github.com/marcelpaulo","followers_url":"https://api.github.com/users/marcelpaulo/followers","following_url":"https://api.github.com/users/marcelpaulo/following{/other_user}","gists_url":"https://api.github.com/users/marcelpaulo/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelpaulo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelpaulo/subscriptions","organizations_url":"https://api.github.com/users/marcelpaulo/orgs","repos_url":"https://api.github.com/users/marcelpaulo/repos","events_url":"https://api.github.com/users/marcelpaulo/events{/privacy}","received_events_url":"https://api.github.com/users/marcelpaulo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-18T12:21:01Z","updated_at":"2015-05-05T20:42:57Z","closed_at":"2015-05-05T20:42:57Z","body":"syncthing-android is not exiting even if `Always run in background` is disabled and `Exit` is tapped.\r\n\r\nRunning version:\r\n![01 - screenshot_2015-04-18-02-02-02](https://cloud.githubusercontent.com/assets/10074769/7215373/20ff3e16-e5ab-11e4-9d4b-3c93b7d54845.png)\r\non a Motorola E XT1022 with Android 4.4.4\r\n\r\nTo reproduce it:\r\n\r\n1. Connected the phone to the desktop, and run `adb logcat | grep -i syncthing | tee log` on the desktop\r\n2. Disabled ``Always run in background`:\r\n\r\n![01 - screenshot_2015-04-18-08-56-39](https://cloud.githubusercontent.com/assets/10074769/7215389/b997e984-e5ab-11e4-9b91-dd0d04d11743.png)\r\n3. Tapped `Exit`:\r\n\r\n![01 - screenshot_2015-04-18-08-56-51](https://cloud.githubusercontent.com/assets/10074769/7215391/d83bdc9c-e5ab-11e4-85a9-acb3b8b655b0.png)\r\n4. Checked notifications, confirmed that syncthing didn't exit:\r\n\r\n![01 - screenshot_2015-04-18-08-57-10](https://cloud.githubusercontent.com/assets/10074769/7215393/fd7a40ac-e5ab-11e4-9a06-85c846f0c20a.png)\r\n5. Stopped logcat. [Here](http://paste.ubuntu.com/10844119/) is the log.\r\n\r\nLet me know if there's anything else I can do to help debug this."}}