Location is not turned off when gps and location are disabled in indicator
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Critical
|
John McAleely | ||
location-service (Ubuntu) |
Fix Released
|
Critical
|
Thomas Voß | ||
location-service (Ubuntu RTM) |
Fix Released
|
Critical
|
Thomas Voß |
Bug Description
STEPS:
Step 1:
1. Swipe down on the Location indicator
1. Location options are shown
Step 2:
2. Toggle Location Detection off and GPS off
2. Ticks change to crosses to signify they are turned off
Step 3:
3. Open a location enabled application (e.g. Maps)
3. Here Maps opens
Step 4:
4. Allow the trust prompt if requested
4. Trust prompt appears (only on first run)
Step 5:
5. Wait a few minutes and check if a fix is received
5. No fix is made
location on/off take effects only after reboot, re-launch here map does not work.
Step 6:
6. Swipe down on the Location indicator
6. Location options are shown
Step 7:
7. Toggle Location Detection on and GPS on
7. Crosses become ticks to signify they are turned on
Step 8:
8. Wait a few minutes and check if a fix is received
8. You Open here and a location is returned
location on/off take effects only after reboot, re-launch here map does not work.
EXPECTED:
I expect to location to be turned off when disabled and nolonger be able to give me a location
ACTUAL:
On disabling location and gps I open here maps or refresh the nearby scope and I am still presented with a location until I reboot
THIS IS A REGRESSION over ota8 whereby when I turn off location I get no location and visa versa.
Related branches
- Ubuntu Phablet Team: Pending requested
-
Diff: 46 lines (+8/-6)3 files modifiedsrc/location_service/com/ubuntu/location/service/daemon.cpp (+1/-1)
src/location_service/com/ubuntu/location/service/implementation.cpp (+6/-4)
src/location_service/com/ubuntu/location/service/provider_daemon.cpp (+1/-1)
- Ubuntu Phablet Team: Pending requested
-
Diff: 2114 lines (+1468/-140) (has conflicts)34 files modifiedCMakeLists.txt (+14/-0)
_clang-format (+56/-0)
astyle-config (+43/-0)
debian/changelog (+71/-0)
doc/Doxyfile.in (+2/-2)
doc/daemon_and_cli.md (+55/-0)
doc/debugging.md (+92/-0)
doc/hacking.md (+146/-0)
doc/intro.md (+67/-0)
doc/manual_testing.md (+174/-0)
doc/tips_n_tricks.md (+21/-0)
src/location_service/com/ubuntu/location/CMakeLists.txt (+1/-0)
src/location_service/com/ubuntu/location/connectivity/cached_wireless_network.cpp (+12/-6)
src/location_service/com/ubuntu/location/connectivity/cached_wireless_network.h (+12/-0)
src/location_service/com/ubuntu/location/connectivity/ofono_nm_connectivity_manager.cpp (+1/-1)
src/location_service/com/ubuntu/location/engine.cpp (+23/-14)
src/location_service/com/ubuntu/location/engine.h (+3/-3)
src/location_service/com/ubuntu/location/providers/gps/android_hardware_abstraction_layer.cpp (+3/-5)
src/location_service/com/ubuntu/location/providers/gps/android_hardware_abstraction_layer.h (+1/-1)
src/location_service/com/ubuntu/location/service/daemon.cpp (+14/-66)
src/location_service/com/ubuntu/location/service/implementation.cpp (+25/-4)
src/location_service/com/ubuntu/location/service/provider_daemon.cpp (+17/-16)
src/location_service/com/ubuntu/location/service/runtime.cpp (+109/-0)
src/location_service/com/ubuntu/location/service/runtime.h (+90/-0)
src/location_service/com/ubuntu/location/service/session/skeleton.cpp (+21/-3)
src/location_service/com/ubuntu/location/time_based_update_policy.cpp (+4/-3)
tests/CMakeLists.txt (+1/-0)
tests/acceptance_tests.cpp (+114/-12)
tests/engine_test.cpp (+3/-3)
tests/gps_provider_test.cpp (+83/-0)
tests/position_test.cpp (+1/-1)
tests/runtime_test.cpp (+118/-0)
tools/CMakeLists.txt (+1/-0)
tools/symbol_diff.in (+70/-0)
tags: | added: qa-regression-testing |
tags: | added: regression-proposed |
Changed in canonical-devices-system-image: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
assignee: | nobody → John McAleely (john.mcaleely) |
milestone: | none → ww50-2015 |
Changed in location-service (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Thomas Voß (thomas-voss) |
tags: | added: lt-blocker lt-category-visible |
Changed in canonical-devices-system-image: | |
status: | Confirmed → Fix Committed |
Changed in location-service (Ubuntu): | |
status: | In Progress → Fix Released |
status: | Fix Released → In Progress |
Changed in location-service (Ubuntu RTM): | |
status: | New → Fix Released |
importance: | Undecided → Critical |
assignee: | nobody → Thomas Voß (thomas-voss) |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
tags: | removed: lt-blocker lt-category-visible |
Changed in location-service (Ubuntu): | |
status: | In Progress → Fix Released |