** Summary changed: - Location service should stop updates for sessions that have been identified as stale (sigstop'd) + Location service should stop updates for sessions that have been identified as stale (sigstop'd) and gone
** Description changed: - The heuristic might be as simple as: + current build number: 237 + device name: krillin + channel: ubuntu-touch/ubuntu-rtm/14.09-proposed + last update: 2015-02-17 17:04:34 + version version: 237 + version ubuntu: 20150217 + version device: 20150216-fe747ac + version custom: 20150207-538-29-183 - If providing updates to clients fails more than 10 times, stop all - updates. + Location service stays active when a client app is sigstopped and closed + by the user. + + To reproduce: + 1 - Reboot the phone; + 2 - Run logcat as root: $ sudo /system/bin/logcat + 3 - Open HERE maps; + 4 - Wait for it to get a location lock (and also see that you should be getting quite a few messages in logcat, all gps related) + 5 - Move the app to background (and wait at least 3 seconds for it to get sigstopped); + 6 - Close the app; + + From logcat's output you should see that GPS will still be active, while + it shouldn't, as the client is gone. + + It also shouldn't stay active when the app is in background, but that is + covered by bug 1422889. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to location-service in Ubuntu. https://bugs.launchpad.net/bugs/1418033 Title: Location service should stop updates for sessions that have been identified as stale (sigstop'd) and gone Status in the base for Ubuntu mobile products: Confirmed Status in location-service package in Ubuntu: Confirmed Status in qtubuntu-sensors package in Ubuntu: New Bug description: current build number: 237 device name: krillin channel: ubuntu-touch/ubuntu-rtm/14.09-proposed last update: 2015-02-17 17:04:34 version version: 237 version ubuntu: 20150217 version device: 20150216-fe747ac version custom: 20150207-538-29-183 Location service stays active when a client app is sigstopped and closed by the user. To reproduce: 1 - Reboot the phone; 2 - Run logcat as root: $ sudo /system/bin/logcat 3 - Open HERE maps; 4 - Wait for it to get a location lock (and also see that you should be getting quite a few messages in logcat, all gps related) 5 - Move the app to background (and wait at least 3 seconds for it to get sigstopped); 6 - Close the app; From logcat's output you should see that GPS will still be active, while it shouldn't, as the client is gone. It also shouldn't stay active when the app is in background, but that is covered by bug 1422889. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1418033/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp