{"action":"created","issue":{"url":"https://api.github.com/repos/syncthing/syncthing-android/issues/235","labels_url":"https://api.github.com/repos/syncthing/syncthing-android/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/syncthing/syncthing-android/issues/235/comments","events_url":"https://api.github.com/repos/syncthing/syncthing-android/issues/235/events","html_url":"https://github.com/syncthing/syncthing-android/issues/235","id":60760817,"number":235,"title":"With \"Sync only on Wifi\" active, it keeps running when both Wifi and data are off.","user":{"login":"pinapl","id":11401380,"avatar_url":"https://avatars.githubusercontent.com/u/11401380?v=3","gravatar_id":"","url":"https://api.github.com/users/pinapl","html_url":"https://github.com/pinapl","followers_url":"https://api.github.com/users/pinapl/followers","following_url":"https://api.github.com/users/pinapl/following{/other_user}","gists_url":"https://api.github.com/users/pinapl/gists{/gist_id}","starred_url":"https://api.github.com/users/pinapl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pinapl/subscriptions","organizations_url":"https://api.github.com/users/pinapl/orgs","repos_url":"https://api.github.com/users/pinapl/repos","events_url":"https://api.github.com/users/pinapl/events{/privacy}","received_events_url":"https://api.github.com/users/pinapl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-12T02:15:43Z","updated_at":"2015-03-12T14:02:47Z","closed_at":null,"body":"Steps to reproduce:\r\nOpen app.\r\nMake sure \"Sync only on Wifi\" is enabled.\r\nTurn Wifi on, turn data (4G, 3G, EDGE, etc) off.\r\nThe app will run and try to sync since Wifi is on.\r\nTurn Wifi off, do not turn data on. This takes away its internet connection.\r\nThe app will still run and try to connect to other devices.\r\n\r\nWhat I expect to happen instead:\r\nWhen Wifi is off, syncthing should stop running until a wifi connection is re-established.\r\n\r\nMy assumption from this behavior is that the app uses the data on/off state as its indicator of whether Wifi is on or off. If data is active, wifi is assumed to be off; If data is inactive, wifi is assumed to be on. \r\n\r\nPhone: Samsung Galaxy Note 3 (SM-N900V) on Verizon Wireless.\r\nAndroid version: 4.4.2 Kitkat (Rooted)\r\nVersion: Google Play 0.5.18."},"comment":{"url":"https://api.github.com/repos/syncthing/syncthing-android/issues/comments/78484728","html_url":"https://github.com/syncthing/syncthing-android/issues/235#issuecomment-78484728","issue_url":"https://api.github.com/repos/syncthing/syncthing-android/issues/235","id":78484728,"user":{"login":"Nutomic","id":1044450,"avatar_url":"https://avatars.githubusercontent.com/u/1044450?v=3","gravatar_id":"","url":"https://api.github.com/users/Nutomic","html_url":"https://github.com/Nutomic","followers_url":"https://api.github.com/users/Nutomic/followers","following_url":"https://api.github.com/users/Nutomic/following{/other_user}","gists_url":"https://api.github.com/users/Nutomic/gists{/gist_id}","starred_url":"https://api.github.com/users/Nutomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nutomic/subscriptions","organizations_url":"https://api.github.com/users/Nutomic/orgs","repos_url":"https://api.github.com/users/Nutomic/repos","events_url":"https://api.github.com/users/Nutomic/events{/privacy}","received_events_url":"https://api.github.com/users/Nutomic/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T14:02:47Z","updated_at":"2015-03-12T14:02:47Z","body":"So it works as long as you don't change data state?\r\n\r\nSounds like NetworkReceiver should ignore intents with `wifiInfo == null`."}}